原型:extern float floor(float x); 用法:#include <math.h> 功能:求不大于x的最達(dá)整數(shù) 說(shuō)明:返回x的下限,如74.12的下限為74,-74.12的下限為-75。返回值為float類(lèi)型。 舉例: // floor.c #include <syslib.h> #inclu...
http://www.o2fo.com/cyykhsscsc/hun1af.html原型:extern float fmod(float x, float y); 用法:#include <math.h> 功能:計(jì)算x/y的余數(shù) 說(shuō)明:返回x-n*y,符號(hào)同y。n=[x/y](向離開(kāi)零的方向取整) 舉例: // fmod.c #include <syslib.h> #include <math.h> main() ...
http://www.o2fo.com/cyykhsscsc/emi1ag.html原型:extern float frexp(float x, int *exp); 用法:#include <math.h> 功能:把浮點(diǎn)數(shù)x分解成尾數(shù)和指數(shù)。 說(shuō)明:x=m*2^exp,m為規(guī)格化小數(shù)。返回尾數(shù)m,并將指數(shù)存入exp中。 舉例: // frexp.c #include <syslib.h> #...
http://www.o2fo.com/cyykhsscsc/jdn1ah.html原型:extern float ldexp(float x, int exp); 用法:#include <math.h> 功能:裝載浮點(diǎn)數(shù)。 說(shuō)明:返回x*2^exp的值。 舉例: // ldexp.c #include <syslib.h> #include <math.h> main() { float x; clrsc...
http://www.o2fo.com/cyykhsscsc/oiw1ai.html原型:extern float modf(float num, float *i); 用法:#include <math.h> 功能:將浮點(diǎn)數(shù)num分解成整數(shù)部分和小數(shù)部分。 說(shuō)明:返回小數(shù)部分,將整數(shù)部分存入*i所指內(nèi)存中。 舉例: // modf.c #include <syslib.h> #...
http://www.o2fo.com/cyykhsscsc/hvp1aj.html原型:extern float hypot(float x, float y); 用法:#include <math.h> 功能:對(duì)于給定的直角三角形的兩個(gè)直角邊,求其斜邊的長(zhǎng)度。 說(shuō)明:返回斜邊值。 舉例: // hypot.c #include <syslib.h> #include <math.h> ...
http://www.o2fo.com/cyykhsscsc/rdm1ak.html原型:extern float log(float x); 用法:#include <math.h> 功能:計(jì)算x的自然對(duì)數(shù)。 說(shuō)明:x的值應(yīng)大于零。 舉例: // log.c #include <syslib.h> #include <math.h> main() { float x; clrscr(); //...
http://www.o2fo.com/cyykhsscsc/dmj1al.html原型:extern float log10(float x); 用法:#include <math.h> 功能:計(jì)算x的常用對(duì)數(shù)。 說(shuō)明:x的值應(yīng)大于零。 舉例: // log10.c #include <syslib.h> #include <math.h> main() { float x; clrscr(); ...
http://www.o2fo.com/cyykhsscsc/ane1am.html原型:extern float pow(float x, float y); 用法:#include <math.h> 功能:計(jì)算x的y次冪。 說(shuō)明:x應(yīng)大于零,返回冪指數(shù)的結(jié)果。 舉例: // pow.c #include <syslib.h> #include <math.h> main() { clrs...
http://www.o2fo.com/cyykhsscsc/jkf1an.html原型:extern float pow10(float x); 用法:#include <math.h> 功能:計(jì)算10的x次冪。 說(shuō)明:相當(dāng)于pow(10.0,x)。 舉例: // pow10.c #include <syslib.h> #include <math.h> main() { clrscr(); // clear screen ...
http://www.o2fo.com/cyykhsscsc/rln1ao.html抱歉,暫時(shí)沒(méi)有相關(guān)的微課
w3cschool 建議您:
抱歉,暫時(shí)沒(méi)有相關(guān)的視頻課程
w3cschool 建議您:
抱歉,暫時(shí)沒(méi)有相關(guān)的教程
w3cschool 建議您:
原型:extern float floor(float x); 用法:#include <math.h> 功能:求不大于x的最達(dá)整數(shù) 說(shuō)明:返回x的下限,如74.12的下限為74,-74.12的下限為-75。返回值為float類(lèi)型。 舉例: // floor.c #include <syslib.h> #inclu...
http://www.o2fo.com/cyykhsscsc/hun1af.html原型:extern float fmod(float x, float y); 用法:#include <math.h> 功能:計(jì)算x/y的余數(shù) 說(shuō)明:返回x-n*y,符號(hào)同y。n=[x/y](向離開(kāi)零的方向取整) 舉例: // fmod.c #include <syslib.h> #include <math.h> main() ...
http://www.o2fo.com/cyykhsscsc/emi1ag.html原型:extern float frexp(float x, int *exp); 用法:#include <math.h> 功能:把浮點(diǎn)數(shù)x分解成尾數(shù)和指數(shù)。 說(shuō)明:x=m*2^exp,m為規(guī)格化小數(shù)。返回尾數(shù)m,并將指數(shù)存入exp中。 舉例: // frexp.c #include <syslib.h> #...
http://www.o2fo.com/cyykhsscsc/jdn1ah.html原型:extern float ldexp(float x, int exp); 用法:#include <math.h> 功能:裝載浮點(diǎn)數(shù)。 說(shuō)明:返回x*2^exp的值。 舉例: // ldexp.c #include <syslib.h> #include <math.h> main() { float x; clrsc...
http://www.o2fo.com/cyykhsscsc/oiw1ai.html原型:extern float modf(float num, float *i); 用法:#include <math.h> 功能:將浮點(diǎn)數(shù)num分解成整數(shù)部分和小數(shù)部分。 說(shuō)明:返回小數(shù)部分,將整數(shù)部分存入*i所指內(nèi)存中。 舉例: // modf.c #include <syslib.h> #...
http://www.o2fo.com/cyykhsscsc/hvp1aj.html原型:extern float hypot(float x, float y); 用法:#include <math.h> 功能:對(duì)于給定的直角三角形的兩個(gè)直角邊,求其斜邊的長(zhǎng)度。 說(shuō)明:返回斜邊值。 舉例: // hypot.c #include <syslib.h> #include <math.h> ...
http://www.o2fo.com/cyykhsscsc/rdm1ak.html原型:extern float log(float x); 用法:#include <math.h> 功能:計(jì)算x的自然對(duì)數(shù)。 說(shuō)明:x的值應(yīng)大于零。 舉例: // log.c #include <syslib.h> #include <math.h> main() { float x; clrscr(); //...
http://www.o2fo.com/cyykhsscsc/dmj1al.html原型:extern float log10(float x); 用法:#include <math.h> 功能:計(jì)算x的常用對(duì)數(shù)。 說(shuō)明:x的值應(yīng)大于零。 舉例: // log10.c #include <syslib.h> #include <math.h> main() { float x; clrscr(); ...
http://www.o2fo.com/cyykhsscsc/ane1am.html原型:extern float pow(float x, float y); 用法:#include <math.h> 功能:計(jì)算x的y次冪。 說(shuō)明:x應(yīng)大于零,返回冪指數(shù)的結(jié)果。 舉例: // pow.c #include <syslib.h> #include <math.h> main() { clrs...
http://www.o2fo.com/cyykhsscsc/jkf1an.html原型:extern float pow10(float x); 用法:#include <math.h> 功能:計(jì)算10的x次冪。 說(shuō)明:相當(dāng)于pow(10.0,x)。 舉例: // pow10.c #include <syslib.h> #include <math.h> main() { clrscr(); // clear screen ...
http://www.o2fo.com/cyykhsscsc/rln1ao.html抱歉,暫時(shí)沒(méi)有相關(guān)的文章
w3cschool 建議您: