代码搜索:float
找到约 10,000 项符合「float」的源代码
代码结果 10,000
www.eeworm.com/read/297796/7995675
cpp sbcharsetprober.cpp
/*
libcharguess - Guess the encoding/charset of a string
Copyright (C) 2003 Stephane Corbe
Based on Mozilla sources
This library is free software; you can red
www.eeworm.com/read/197407/7997302
cpp cknap.cpp
// continuous knapsack solution
#include
#include "hsort.h"
#include "object2.h"
template
float Knapsack(Tp p[], Tw w[], Tw c, int n, float x[])
{// Return
www.eeworm.com/read/398242/7997308
c 99.c
main()
#include "stdio.h"
main()
{
float peven(),podd(),dcall();
float sum;
int n;
while (1)
{
scanf("%d",&n);
if(n>1)
break;
}
if(n%2==0)
{printf("Even=");
sum=dcall(peven,n);
}
else
www.eeworm.com/read/398242/7997418
c 6.c
# define N 5
main( )
{
int x , num[N+1] ;
float st[N+1] , ave , sum=0;
for (x=1 ; x
www.eeworm.com/read/197407/7997478
h curr3.h
// includes >>, -, /, *, %
// and overloading of =
#ifndef Currency_
#define Currency_
#include
#include
enum sign {plus, minus};
class Currency {
friend i
www.eeworm.com/read/197368/8001985
c mygame.c
#include
#include
#include
float InvSqrt (float x)
{
float xhalf = 0.5f*x;
int i = *(int*)&x;
i = 0x5f3759df - (i >> 1); // 计算第一个近似根
x = *(float*)&i;
x = x*(1
www.eeworm.com/read/297707/8002288
c lind8-13.c
#include
puta()
{
float x;
scanf("%f",&x);
return(x);
}
float p(float x,float n)
{
if(n==0)
return 1;
if(n==1)
return x;
if(n>1)
return(((2*n-1)*x-p(x,n
www.eeworm.com/read/297707/8002358
c lind6-9.c
#include
void main()
{
int i;
float s=0,h=100;
for(i=1;i
www.eeworm.com/read/297707/8002388
c lind5-5.c
#include
main()
{
float x,y;
printf("Please input x.\n");
scanf("%f",&x);
if (x=1&&x=10) y=3*x-11;
printf("%.1f\n",y);
}
www.eeworm.com/read/297707/8002422
c lind5-10.c
#include
main()
{
float x,y,height,a,b,c,d;
lin: printf("\nPlease input the coordinate of the point.\n");
scanf("%f,%f",&x,&y);
a=(x-2)*(x-2);
b=(x+2)*(x+2);
c=(y-2)*(y-2);