Mathematica > Systems Interfaces & Deployment > C/C++ Language Interface > MathLink C Language Functions >
Mathematica > Systems Interfaces & Deployment > MathLink API > MathLink C Language Functions >
MathLink C Function

MLPutFloat()

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.
© 2008 Wolfram Research, Inc.
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team