Boost logo

Boost :

From: Andy Little (andy_at_[hidden])
Date: 2005-09-06 18:23:45


"Joel Eidsath" <jeidsath_at_[hidden]> wrote in message
news:431DCDEF.1020501_at_gmail.com...
>
>
> Andy Little wrote:
>
>>On the contrary, conversion from rational to float is an example of a "lossy
>>conversion".
>>
>>
> Wrong. It is sometimes lossy, it is sometimes exact.

Thats true but irrelevant, because you cant tell, given only the resulting
floating point representation, whether your
 floating-point value is representing an approximation to some value which may
be rational or itrrational or alternatively is an exact representation of a
rational value.

regards
Andy Little


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk