is_RealNumber checks that the data type of the input is a RealNumber,
i.e., has parent a real field. It does not check whether the object
itself has some sort of abstract mathematical meaning as a real
number.
On 5/9/07, Timothy Clemans <[EMAIL PROTECTED]> wrote:
> {{{
> is_RealNumber(3)
> ///
> False
> }}}
>
> {{{
> is_RealNumber(sqrt(2))
> ///
> False
> }}}
>
> {{{
> is_RealNumber(pi)
> ///
> False
> }}}
>
--
William Stein
Associate Professor of Mathematics
University of Washington
http://www.williamstein.org
--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/sage-support
URLs: http://sage.math.washington.edu/sage/ and http://sage.scipy.org/sage/
-~----------~----~----~----~------~----~------~--~---