This is documentation for Mathematica 3, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.1)
 Documentation / Mathematica / The Mathematica Book / Reference Guide / Listing of C Functions in the MathLink Library  /
MLPutReal()

  • intMLPutReal(MLINKlink,doublex) puts the floating-point number x to the MathLink connection specified by link.
  • You can send arbitrary-precision real numbers to Mathematica by giving lists of digits, then converting them to numbers using FromDigits.
  • MLPutReal() is normally equivalent to MLPutDouble().
  • See the Mathematica book: Section 2.12.4Section 2.12.12.
  • See also: MLPutRealListMLPutRealListMainBookLinkOldButtonDataMLPutRealList, MLPutFloatMLPutFloatMainBookLinkOldButtonDataMLPutFloat, MLPutDoubleMLPutDoubleMainBookLinkOldButtonDataMLPutDouble.