The definitive Wolfram Language and notebook experience
The original technical computing environment
All-in-one AI assistance for your Wolfram experience
More mobile apps
We deliver solutions for the AI era—combining symbolic computation, data-driven insights and deep technical expertise
WolframConsulting.com
More Wolfram Solutions
More Solutions for Education
Courses in computing, science, life and more
Learn, solve problems and share ideas.
News, views and insights from Wolfram
Resources for
int MLPutReal32(MLINK link,double x)
把一单精度浮点数 x 写入由 link 指定的 MathLink 连接,其精度对应于 C 类型 float.
#include "mathlink.h"/* send the number 3.4 to a link */void f(MLINK lp){ float numb = 3.4; if(! MLPutReal32(lp, numb)) { /* unable to send 3.4 to lp */ }}
C 函数: MLPutReal64() MLPutReal128()
2007年引入 (6.0)