[Gd-hackers] String-to-float in OpenDylan
Andreas Bogk
andreas at andreas.org
Fri May 18 15:06:09 CEST 2007
Gareth Baker schrieb:
> String-to-float seems to have gone awol in OpenDylan (at least I can't find
> it in any library definition). There is a reference to it in one of the duim
> sources and an atof function in lexer.dylan. Is this atof function suitable
> for re-exporting as a string-to-float function in common-dylan (i.e. Could I
> just do a temporary cut-and-paste into my sources)?
Copy&paste of atof is probably the way to go. Peter Housel once wrote a
precise string-to-float and float-to-sting for GD, but it requires
bignums, which OD doesn't have.
Andreas
More information about the hackers
mailing list