代码搜索:Math
找到约 10,000 项符合「Math」的源代码
代码结果 10,000
www.eeworm.com/read/171829/9734585
c show_exp.c
#include
#include
void main(void)
{
double value;
for (value = 0.0; value
www.eeworm.com/read/171829/9734586
c sqrt.c
#include
#include
void main(void)
{
double value;
for (value = 0.0; value < 10.0; value += 0.1)
printf("Value %f sqrt %f\n", value, sqrt(value));
}
www.eeworm.com/read/171829/9734628
c showacos.c
#include
#include
void main(void)
{
double radians;
for (radians = -0.5; radians
www.eeworm.com/read/171829/9734632
c showceil.c
#include
#include
void main(void)
{
printf("The value %f ceil %f\n", 1.9, ceil(1.9));
printf("The value %f ceil %f\n", 2.1, ceil(2.1));
}
www.eeworm.com/read/171829/9734645
c showasin.c
#include
#include
void main(void)
{
double radians;
for (radians = -0.5; radians
www.eeworm.com/read/171829/9734648
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/171829/9734658
c showcosh.c
#include
#include
void main(void)
{
double radians;
for (radians = -0.5; radians
www.eeworm.com/read/171829/9734660
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/171829/9734669
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/367177/9767846
java brackets.java
package PKU.DP;
import java.util.Scanner;
/**
* ID:2955
* DP
* @author yhm
*
*/
public class Brackets {
static int brackets=0;
static int parentheses=1;
static int len=2;