代码搜索:Math
找到约 10,000 项符合「Math」的源代码
代码结果 10,000
www.eeworm.com/read/106942/15616778
c show_exp.c
#include
#include
void main (void)
{
double value;
for (value = 0.0; value
www.eeworm.com/read/106942/15616780
c show_tan.c
#include
#include
void main(void)
{
double pi = 3.14159265;
printf("Tangent of pi is %f\n", tan(pi));
printf("Tangent of pi/4 is %f\n", tan(pi / 4.0));
}
www.eeworm.com/read/106942/15616784
c showatan.c
#include
#include
void main (void)
{
double radians;
for (radians = -0.5; radians
www.eeworm.com/read/106942/15616787
c show_sin.c
#include
#include
void main(void)
{
double radians;
for (radians = 0.0; radians < 3.1; radians += 0.1)
printf("Sine of %f is %f\n", radians, sin(radians));
}
www.eeworm.com/read/106942/15616788
c showasin.c
#include
#include
void main (void)
{
double radians;
for (radians = -0.5; radians
www.eeworm.com/read/106942/15616789
c showacos.c
#include
#include
void main (void)
{
double radians;
for (radians = -0.5; radians
www.eeworm.com/read/106942/15616794
c showfmod.c
#include
#include
void main (void)
{
double numerator = 10.0;
double denominator = 3.0;
printf("fmod(10, 3) is %f\n", fmod(numerator,
denominator));
}
www.eeworm.com/read/106942/15616795
c showfabs.c
#include
#include
void main (void)
{
float value;
for (value = -1.0; value
www.eeworm.com/read/106942/15616796
c show_cos.c
#include
#include
void main (void)
{
printf("cosine of pi/2 is %6.4f\n", cos(3.14159/2.0));
printf("cosine of pi is %6.4f\n", cos(3.14159));
}
www.eeworm.com/read/106940/15616921
c fgauss.c
#include
void fgauss(x,a,y,dyda,na)
float x,a[],*y,dyda[];
int na;
{
int i;
float fac,ex,arg;
*y=0.0;
for (i=1;i