代码搜索:Math
找到约 10,000 项符合「Math」的源代码
代码结果 10,000
www.eeworm.com/read/270082/11049223
c show_exp.c
#include
#include
void main (void)
{
double value;
for (value = 0.0; value
www.eeworm.com/read/270082/11049225
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/270082/11049233
c showatan.c
#include
#include
void main (void)
{
double radians;
for (radians = -0.5; radians
www.eeworm.com/read/270082/11049237
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/270082/11049239
c showasin.c
#include
#include
void main (void)
{
double radians;
for (radians = -0.5; radians
www.eeworm.com/read/270082/11049241
c showacos.c
#include
#include
void main (void)
{
double radians;
for (radians = -0.5; radians
www.eeworm.com/read/270082/11049250
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/270082/11049251
c showfabs.c
#include
#include
void main (void)
{
float value;
for (value = -1.0; value
www.eeworm.com/read/270082/11049252
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/270032/11050502
makefile
# Accurate Polygon Scan Conversion Using Half-Open Intervals,
# by Kurt Fleischer and David Salesin
#
# don't put any -g or -O here -- it's taken care of elsewhere
# -Ac
CFLAGS= -Aa
OBJ = fixpoi