Macaulay2 » Documentation
Packages » Macaulay2Doc » rings » basic rings of numbers » RR » isReal
next | previous | forward | backward | up | index | toc

isReal -- whether a number is real

Description

i1 : isReal 2.

o1 = true
i2 : isReal sqrt(-1)

o2 = false

Ways to use isReal:

  • isReal(CC)
  • isReal(Constant)
  • isReal(InfiniteNumber)
  • isReal(QQ)
  • isReal(RR)
  • isReal(RRi)
  • isReal(ZZ)

For the programmer

The object isReal is a method function.


The source of this document is in Macaulay2Doc/ov_analytic_functions.m2:458:0.