Searched refs:minus_half (Results 1 – 4 of 4) sorted by relevance
/third_party/boost/libs/safe_numerics/test/ |
D | test_rational.cpp | 75 rational<int_type> minus_half(-1,2); in main() local 76 assert(-half == minus_half); in main() 77 assert(abs(minus_half) == half); in main() 89 cout << "abs(" << minus_half << ")=" << half << endl; in main()
|
/third_party/boost/libs/rational/test/ |
D | rational_example.cpp | 68 rational<int> minus_half(-1,2); in main() local 69 assert(-half == minus_half); in main() 70 assert(abs(minus_half) == half); in main() 86 cout << "abs(" << minus_half << ")=" << half << endl; in main()
|
/third_party/boost/libs/gil/test/core/channel/ |
D | scoped_channel_value.cpp | 87 struct minus_half { static double apply() { return -0.5; } }; in test_scoped_channel_value_halfs() struct 89 using halfs = gil::scoped_channel_value<double, minus_half, plus_half>; in test_scoped_channel_value_halfs() 92 BOOST_GIL_TEST_IS_CLOSE(gil::channel_traits<halfs>::min_value(), minus_half::apply(), epsilon); in test_scoped_channel_value_halfs()
|
/third_party/mesa3d/src/gallium/auxiliary/gallivm/ |
D | lp_bld_arit.c | 923 LLVMValueRef minus_half = LLVMBuildNeg(builder, half, ""); in lp_build_mul_norm() local 925 half = lp_build_select(&bld, sign, minus_half, half); in lp_build_mul_norm()
|