代码搜索:float
找到约 10,000 项符合「float」的源代码
代码结果 10,000
www.eeworm.com/read/229812/4738841
c float04.c
#include "fail.h"
#include
struct FP {
static double eps() { return DBL_EPSILON; }
static double min() { return DBL_MIN; }
static double max() { return DBL_MAX; }
};
i
www.eeworm.com/read/229812/4738901
c float02.c
#include "fail.h"
#include
#include
#include
void around( double d, double lo, double hi, unsigned line )
{
if( d < lo || d > hi ) fail( line );
}
int main
www.eeworm.com/read/229812/4739124
c float05.c
#include "fail.h"
double d1[] = {
/*
fractional-constant:
digit-seq .
digit-seq . digit-seq
. digit-seq
*/
12.,
12.12,
.12,
12e12,
www.eeworm.com/read/229812/4739248
c float01.c
#include "fail.h"
#include
#include
double d = DBL_MAX;
double e = -DBL_MAX;
double f = DBL_MAX*DBL_EPSILON;
int almost( double v1, double v2 )
{
return !( fabs( v1
www.eeworm.com/read/229812/4739270
c float03.c
#include "fail.h"
double c[] = {
1.2 - .2,
.9 + .1,
.3 * 10,
3 / .2,
#if __WATCOMC__ > 1060
.1111111111111111111111111111111 <
.1111111111111111111111111111112,
www.eeworm.com/read/229812/4751662
gml float370.gml
..sk 1 c
.keep begin
.if &e'&nobox eq 0 .do begin
.boxdef
.boxcol 13
.boxcol 9
.boxcol 9
.boxcol 9
.boxcol 9
.boxbeg
www.eeworm.com/read/229812/4751676
gml float87.gml
..sk 1 c
.if &e'&nobox eq 0 .do begin
.boxdef
..if '&format' eq '7x9' ..th ..do begin
. .boxcol 10
. .boxcol 8
. .boxcol 8
. .boxcol 7
. .boxcol 6
..do end
..el ..do begin
. .boxcol 1
www.eeworm.com/read/224327/4804514
c xdr_float.c
/* xdr_float.c - generic XDR routines implementation */
/* Copyright 1984-1997 Wind River Systems, Inc. */
#include "copyright_wrs.h"
/*
* Copyright (c) 1987 Wind River Systems, Inc.
* Copyright (
www.eeworm.com/read/221464/4831019
cpp is_float_test.cpp
// (C) Copyright John Maddock 2000.
// Use, modification and distribution are subject to the
// Boost Software License, Version 1.0. (See accompanying file
// LICENSE_1_0.txt or copy at ht
www.eeworm.com/read/221464/4832058
cpp test_float.cpp
/* Boost test/test_float.cpp
* test arithmetic operations on a range of intervals
*
* Copyright Guillaume Melquiond 2003
* Permission to use, copy, modify, sell, and distribute this software