原型:extern float cos(float x); 用法:#include <math.h> 功能:求x(弧度表示)的余弦值 說明:返回值在[-1.0,1.0]之間。 舉例: // cos.c #include <syslib.h> #include <math.h> main() { float x; ...
http://www.o2fo.com/cyykhsscsc/dep1ac.html原型:extern float cosh(float x); 用法:#include <math.h> 功能:求x的雙曲余弦值 說明:cosh(x)=(e^x+e^(-x))/2 舉例: // cosh.c #include <syslib.h> #include <math.h> main() { float x; clrscr(); ...
http://www.o2fo.com/cyykhsscsc/tub1ad.html原型:extern float exp(float x); 用法:#include <math.h> 功能:求e的x次冪 說明:e=2.718281828... 舉例: // exp.c #include <syslib.h> #include <math.h> main() { clrscr(); // clear screen textmode(0x...
http://www.o2fo.com/cyykhsscsc/xef1ae.html原型:extern float floor(float x); 用法:#include <math.h> 功能:求不大于x的最達(dá)整數(shù) 說明:返回x的下限,如74.12的下限為74,-74.12的下限為-75。返回值為float類型。 舉例: // floor.c #include <syslib.h> #inclu...
http://www.o2fo.com/cyykhsscsc/hun1af.html原型:extern float fmod(float x, float y); 用法:#include <math.h> 功能:計算x/y的余數(shù) 說明:返回x-n*y,符號同y。n=[x/y](向離開零的方向取整) 舉例: // 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ù)。 說明: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ù)。 說明:返回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ù)部分。 說明:返回小數(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> 功能:對于給定的直角三角形的兩個直角邊,求其斜邊的長度。 說明:返回斜邊值。 舉例: // hypot.c #include <syslib.h> #include <math.h> ...
http://www.o2fo.com/cyykhsscsc/rdm1ak.html原型:extern float log(float x); 用法:#include <math.h> 功能:計算x的自然對數(shù)。 說明:x的值應(yīng)大于零。 舉例: // log.c #include <syslib.h> #include <math.h> main() { float x; clrscr(); //...
http://www.o2fo.com/cyykhsscsc/dmj1al.html抱歉,暫時沒有相關(guān)的微課
w3cschool 建議您:
抱歉,暫時沒有相關(guān)的視頻課程
w3cschool 建議您:
抱歉,暫時沒有相關(guān)的教程
w3cschool 建議您:
原型:extern float cos(float x); 用法:#include <math.h> 功能:求x(弧度表示)的余弦值 說明:返回值在[-1.0,1.0]之間。 舉例: // cos.c #include <syslib.h> #include <math.h> main() { float x; ...
http://www.o2fo.com/cyykhsscsc/dep1ac.html原型:extern float cosh(float x); 用法:#include <math.h> 功能:求x的雙曲余弦值 說明:cosh(x)=(e^x+e^(-x))/2 舉例: // cosh.c #include <syslib.h> #include <math.h> main() { float x; clrscr(); ...
http://www.o2fo.com/cyykhsscsc/tub1ad.html原型:extern float exp(float x); 用法:#include <math.h> 功能:求e的x次冪 說明:e=2.718281828... 舉例: // exp.c #include <syslib.h> #include <math.h> main() { clrscr(); // clear screen textmode(0x...
http://www.o2fo.com/cyykhsscsc/xef1ae.html原型:extern float floor(float x); 用法:#include <math.h> 功能:求不大于x的最達(dá)整數(shù) 說明:返回x的下限,如74.12的下限為74,-74.12的下限為-75。返回值為float類型。 舉例: // floor.c #include <syslib.h> #inclu...
http://www.o2fo.com/cyykhsscsc/hun1af.html原型:extern float fmod(float x, float y); 用法:#include <math.h> 功能:計算x/y的余數(shù) 說明:返回x-n*y,符號同y。n=[x/y](向離開零的方向取整) 舉例: // 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ù)。 說明: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ù)。 說明:返回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ù)部分。 說明:返回小數(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> 功能:對于給定的直角三角形的兩個直角邊,求其斜邊的長度。 說明:返回斜邊值。 舉例: // hypot.c #include <syslib.h> #include <math.h> ...
http://www.o2fo.com/cyykhsscsc/rdm1ak.html原型:extern float log(float x); 用法:#include <math.h> 功能:計算x的自然對數(shù)。 說明:x的值應(yīng)大于零。 舉例: // log.c #include <syslib.h> #include <math.h> main() { float x; clrscr(); //...
http://www.o2fo.com/cyykhsscsc/dmj1al.html抱歉,暫時沒有相關(guān)的文章
w3cschool 建議您: