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

  • intMLPutFloat(MLINKlink,doublex) puts the floating-point number x to the MathLink connection specified by link with a precision corresponding to the C type float.
  • The argument x is typically declared as float in external programs, but must be declared as double in MLPutFloat() itself in order to work even in the absence of C prototypes.
  • See notes for MLPutReal().
  • See the Mathematica book: Section 2.12.5.