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


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