Macaulay2 » Documentation
Packages » ForeignFunctions :: ForeignRealType
next | previous | forward | backward | up | index | toc

ForeignRealType -- foreign real type

Description

This is the class for C real types. There are two built-in types, float for reals using the single-precision floating-point format and double for reals using the double-precision floating-point format.

i1 : float

o1 = float

o1 : ForeignRealType
i2 : double

o2 = double

o2 : ForeignRealType

Methods that use a foreign real type :

Fixed objects of class ForeignRealType :

For the programmer

The object ForeignRealType is a type, with ancestor classes ForeignType < Type < MutableHashTable < HashTable < Thing.