floats default to NaN... why?

Jerome BENOIT g6299304p at rezozer.net
Mon Apr 16 02:53:04 PDT 2012



On 16/04/12 04:38, F i L wrote:
>>> Of course FP numbers are meant for coders... they're in a programming language. They are used by coders, and not every coder that uses FP math *has* to be well trained in the finer points of mathematics simply to use a number that can represent fractions in a conceptually practical way.
>>>
>> The above is not finer points, but basic ones.
>> Otherwise, float and double are rather integers than by fractions.
>
> I don't understand what you wrote. Typo?

Typo:
float and double are rather represented by integers than by fractions.

Jerome


More information about the Digitalmars-d-learn mailing list