On Fri, Aug 20, 1999 at 10:52:52PM -0400, Squeak wrote:
> try "-1 / 2 + 0.0"
>
> adding 0.0 seems to switch the sign, probably a problem in the int to
> float converter forgetting to set the sign?
>
> I'll check and send a patch in a few days, but technical diff. is
> hampering my work.
it's a bug in gmp, and according to the gmp pages it's known. But gmp doesn't
have a new release, unfortunately. I've added a workaround to genius though
George
-- ------------------------------------------------------------------------------ George Lebl <jirka@5z.com> http://www.5z.com/jirka/ ------------------------------------------------------------------------------ The following implements RSA in perl and is illegal to export from the US: #!/bin/perl -sp0777i<X+d*lMLa^*lN%0]dsXx++lMlN/dsM0<j]dsj $/=unpack('H*',$_);$_=`echo 16dio\U$k"SK$/SM$n\EsN0p[lN*1 lK[d2%Sa2/d0$^Ixp"|dc`;s/\W//g;$_=pack('H*',/((..)*)$/)Received on Fri Aug 20 1999 - 21:49:02 CDT
This archive was generated by hypermail 2.2.0 : Sun Apr 17 2011 - 21:00:02 CDT