Hi Rob: I'm sure that changing to GenericTypes = ['D', 'F'] fixes the problem on my 32 bit Linux machine.
If you saw different behavior, perhaps it was on a Windows box? --Doug On Sat, 13 Dec 2008, Sisyphus wrote: > > ----- Original Message ----- From: "Doug Hunt" <dh...@ucar.edu> > . > . >> 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 ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Plplot-devel mailing list Plplot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/plplot-devel