Yes but the set of floats is not even a sub ring of the set of rational
numbers.

2014-10-03 5:43 GMT+02:00 Richard Fateman <[email protected]>:

>
>
> On Thursday, October 2, 2014 11:11:14 AM UTC-7, Christophe Bal wrote:
>>
>> And what about the following code ?
>>
>> The user of Sympy must know that types are different and so that the
>> variable are not the same things. A float is not a rational.
>>
>
> A float "type"  is a different "type"   from some other numbers, but  in
> fact every binary float
> represents a particular rational number,  of the form  integer X
> 2^integer.    Just happens that
> 1/3 as a rational number, is not a one of those binary floats.
>
>
>
>
>>  --
> You received this message because you are subscribed to the Google Groups
> "sympy" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/sympy.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/sympy/94b35738-f6ff-4e72-b82e-7fabed0bd6f8%40googlegroups.com
> <https://groups.google.com/d/msgid/sympy/94b35738-f6ff-4e72-b82e-7fabed0bd6f8%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"sympy" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sympy.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sympy/CAAb4jG%3DUwEhRy_55NJi0Tx3RiXg7UN0fCBHJiJ6RQ5Dk0AUA%3Dw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to