develooper Front page | perl.perl5.porters | Postings from December 2004

modf chainsaw?

Thread Next
Yitzchak Scott-Thoennes
December 14, 2004 01:49
modf chainsaw?
Message ID:
It looks to me like the only use of modfl? is now in pp_pack.c, and that
looks like a bizarre kind of way to do something by someone who didn't
know that fmod existed.

Can someone who has some idea what the uuencode unpacking code is doing
comment on whether this:

               cdouble = Perl_modf(cdouble / adouble, &trouble) * adouble;

can't be this instead:

               cdouble = Perl_fmod(cdouble, adouble);

Then the Perl_modfl stuff in numeric.c can be ripped out, and the
requirement for modfl for using long doubles can be removed from

Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About