next | previous | forward | backward | up | top | index | toc | Macaulay2 web site
Macaulay2Doc :: ii

ii -- the square root of -1

Synopsis

Description

i1 : ii

o1 = ii

o1 : Constant
i2 : ii+1p100

o2 = 1+ii

o2 : CC (of precision 100)
i3 : numeric ii

o3 = ii

o3 : CC (of precision 53)
i4 : numeric_100 ii

o4 = ii

o4 : CC (of precision 100)
Here is the simplest way to convert ii to a numeric value:
i5 : +ii

o5 = ii

o5 : CC (of precision 53)

See also

For the programmer

The object ii is an instance of the type Constant.