This is documentation for Mathematica 5, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.2)

Documentation / Mathematica / The Mathematica Book / Mathematica Reference Guide / Listing of C Functions in the MathLink Library /

MLPutReal()

FilledSmallSquare int MLPutReal(MLINK link, double x) puts the floating-point number x to the MathLink connection specified by link.

FilledSmallSquare You can send arbitrary-precision real numbers to Mathematica by giving lists of digits, then converting them to numbers using FromDigits.

FilledSmallSquare MLPutReal() is normally equivalent to MLPutDouble().

FilledSmallSquare See Section 2.13.4 and Section 2.13.12.

FilledSmallSquare See also: MLPutRealList, MLPutFloat, MLPutDouble.