WSGetReal32 (C Function)
-
See Also
- C Functions
- WSGetReal64()
- WSGetReal128()
- Related Guides
- Tech Notes
-
-
See Also
- C Functions
- WSGetReal64()
- WSGetReal128()
- Related Guides
- Tech Notes
-
See Also
WSGetReal32 (C Function)
int WSGetReal32(WSLINK link,float *x)
gets a single-precision floating-point number from link and stores it as a float in x.
Examples
Basic Examples (1)
#include "wstp.h"
/* read a single-precision floating-point number from a link */
void f(WSLINK lp)
{
float r;
if(! WSGetReal32(lp, &r))
{ /* unable to read the floating-point number from lp */ }
/* ... */
}
See Also
C Functions: WSGetReal64() WSGetReal128()
Related Guides
History
Introduced in 2007 (6.0)