代码搜索:float
找到约 10,000 项符合「float」的源代码
代码结果 10,000
www.eeworm.com/read/375190/2738412
cpp basic_float.cpp
// (C) Copyright Gennadiy Rozental 2001-2008.
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_
www.eeworm.com/read/375190/2739174
qbk float_next.qbk
[section:next_float Floating-Point Representation Distance (ULP),
and Finding Adjacent Floating-Point Values]
[@http://en.wikipedia.org/wiki/Unit_in_the_last_place Unit of Least Precision or U
www.eeworm.com/read/375190/2739843
cpp test_float.cpp
/* Boost test/test_float.cpp
* test arithmetic operations on a range of intervals
*
* Copyright 2003 Guillaume Melquiond
*
* Distributed under the Boost Software License, Version 1.0.
* (See acc
www.eeworm.com/read/366702/2867225
c float1.c
// PR c++/21089
// { dg-do run }
extern "C" void abort();
static const double a = 1.0;
struct S {
S();
};
static S s;
static const double b = a + 1.0;
S::S() {
if (b < 1.9 || b > 2.1)
abort
www.eeworm.com/read/366702/2867408
c float1.c
// PR optimization/11637
// Origin:
// This used to fail to assemble on x86 because a decimal
// floating point litteral was emitted, which originated
// from a bogus REG_EQUAL note no
www.eeworm.com/read/366702/2878778
c float-floor.c
double d = 1024.0 - 1.0 / 32768.0;
extern double floor(double);
extern float floorf(float);
extern void abort();
int main() {
double df = floor(d);
float f1 = (float)floor(d);
if ((int)
www.eeworm.com/read/366702/2882801
c dwarf-float.c
/* Verify the DWARF encoding of C99 floating point types. */
/* { dg-do compile */
/* { dg-options "-O0 -gdwarf-2 -dA" } */
/* { dg-final { scan-assembler "0x4.*DW_AT_encoding" } } */
/* { dg-final
www.eeworm.com/read/361884/2942680
cpp triangulate_float.cpp
// triangulate_float.cpp -- Thatcher Ulrich 2004
// This source code has been donated to the Public Domain. Do
// whatever you want with it.
// Code to triangulate arbitrary 2D polygonal regio
www.eeworm.com/read/361261/2947565
c float32.c
/*****************************************************************************
* float32.c : precise float32 audio mixer implementation
**************************************************************
www.eeworm.com/read/358447/2985802
txt float_re.txt
--REAL PARTS
0
3.76775
-8
0.23225
0.5
0.23225
-8
3.76775
--IMAGINARY PARTS
0
-1.06065
-0.5
-1.06065
0
1.06065
0.5
1.06065
Matlab results
Columns 1 through 4
-0.5000