MLPutReal128 (C Function)
MLPutReal128 has been replaced by WSPutReal128.
int MLPutReal128(MLINK link,mlextended_double d)
puts the extend-precision floating-point number d to the MathLink connection specified by link.
Details

- MLPutReal128() returns 0 in the event of an error, and a nonzero value otherwise.
- Use MLError() to retrieve the error code if MLPutReal128() fails.
- MLPutReal128() is declared in the MathLink header file mathlink.h.
Examples
Basic Examples (1)
#include "mathlink.h"
/* put the expression Sqrt[2.70001] to a link */
void f(MLINK lp)
{
if(! MLPutFunction(lp, "Sqrt", 1))
{ /* unable to put Sqrt[] to lp */ }
if(! MLPutReal128(lp, 2.70001))
{ /* unable to put 2.70001 to lp */ }
if(! MLEndPacket(lp))
{ /* unable to put the end-of-packet sequence to lp */ }
if(! MLFlush(lp))
{ /* unable to flush any output buffered in lp */ }
}