----- Original Message ----- From: "Doug Hunt" <[email protected]> . . > Another approach would be to leave the 'PDL::get_datatype(-1.) == $PDL_F' > problem alone and just fix 'acos' and the rest of the math functions that > can return either float or double values. The other attached patch > (math.pd.diff) just changes > > GenericTypes => ['F', 'D'] > > to > > GenericTypes => ['D', 'F'] >
I tried that last night and I'm sure I found that caused 'int' to default to 'float' (instead of the preferred 'double', as is currently the case). I tried quite a few things last night ... so I could be mistaken. (I'll double check again tonight when I get a chance.) One thing that did seem to work ok for me was to change it to: GenericTypes => ['D'] but I'm unsure about the follow-on effects of complete removal of the float option. Cheers, Rob GenericTypes _______________________________________________ Perldl mailing list [email protected] http://mailman.jach.hawaii.edu/mailman/listinfo/perldl
