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

MLPutReal()

int MLPutReal(MLINK link, double x)
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.