A floating-point puzzle
Jouko Koski
joukokoskispam101 at netti.fi
Wed Aug 5 10:03:10 PDT 2009
"Lars T. Kyllingstad" <public at kyllingen.NOSPAMnet> wrote:
> After the above code has finished, the variable B contains the radix of
> the computer's numerical system.
> I guess I can just drop this part from my code, then. ;)
Well, there is certain likelihood that decimal floating point will reappear
in the future. However, determining the radix may be unnecessary, because
decimal representations may get types of their own. Run-time computation of
radix is bad anyway.
--
Jouko
More information about the Digitalmars-d-learn
mailing list