Home
last modified time | relevance | path

Searched refs:is_float (Results 1 – 25 of 87) sorted by relevance

1234

/third_party/boost/libs/type_traits/test/
Dis_float_test.cpp15 TT_TEST_BEGIN(is_float)
17 BOOST_CHECK_INTEGRAL_CONSTANT(::tt::is_float<float>::value, true);
18 BOOST_CHECK_INTEGRAL_CONSTANT(::tt::is_float<float const>::value, true);
19 BOOST_CHECK_INTEGRAL_CONSTANT(::tt::is_float<float volatile>::value, true);
20 BOOST_CHECK_INTEGRAL_CONSTANT(::tt::is_float<float const volatile>::value, true);
22 BOOST_CHECK_INTEGRAL_CONSTANT(::tt::is_float<double>::value, true);
23 BOOST_CHECK_INTEGRAL_CONSTANT(::tt::is_float<double const>::value, true);
24 BOOST_CHECK_INTEGRAL_CONSTANT(::tt::is_float<double volatile>::value, true);
25 BOOST_CHECK_INTEGRAL_CONSTANT(::tt::is_float<double const volatile>::value, true);
27 BOOST_CHECK_INTEGRAL_CONSTANT(::tt::is_float<long double>::value, true);
[all …]
/third_party/mesa3d/src/asahi/compiler/
Dagx_opcodes.py29 def __init__(self, name, dests, srcs, imms, is_float, can_eliminate, encoding_16, encoding_32): argument
34 self.is_float = is_float
60 def op(name, encoding_32, dests = 1, srcs = 0, imms = [], is_float = False, can_eliminate = True, e… argument
64 … opcodes[name] = Opcode(name, dests, srcs, imms, is_float, can_eliminate, encoding_16, encoding_32)
129 srcs = 1, is_float = True)
149 srcs = 2, is_float = True)
154 srcs = 3, is_float = True)
159 srcs = 2, is_float = True)
225 for is_float in [False, True]:
226 mod_mask = 0 if is_float else (0x3 << 26) | (0x3 << 38)
[all …]
Dagx_optimizer.c110 unsigned srcs, bool is_float) in agx_optimizer_inline_imm() argument
120 bool float_src = is_float; in agx_optimizer_inline_imm()
168 if (info.is_float) in agx_optimizer_forward()
173 agx_optimizer_inline_imm(defs, I, info.nr_srcs, info.is_float); in agx_optimizer_forward()
211 if (info.is_float && agx_optimizer_fmov_rev(I, use)) { in agx_optimizer_backward()
/third_party/boost/libs/geometry/test/util/
Dtuples.cpp27 struct is_float struct
90 BOOST_CHECK_EQUAL((bgt::find_index_if<tuple_id, is_float>::value), 2); in test_all()
91 …BOOST_CHECK((boost::is_same<typename bgt::find_if<tuple_id, is_float>::type, boost::tuples::null_t… in test_all()
102 BOOST_CHECK_EQUAL((bgt::find_index_if<tuple_idf, is_float>::value), 2); in test_all()
103 BOOST_CHECK((boost::is_same<typename bgt::find_if<tuple_idf, is_float>::type, float>::value)); in test_all()
/third_party/mesa3d/src/gallium/drivers/lima/
Dlima_util.c61 lima_dump_blob(FILE *fp, void *data, int size, bool is_float) in lima_dump_blob() argument
68 if (is_float) in lima_dump_blob()
176 int size, bool is_float, const char *fmt, ...) in _lima_dump_command_stream_print() argument
183 lima_dump_blob(dump->fp, data, size, is_float); in _lima_dump_command_stream_print()
/third_party/boost/libs/mpl/test/
Dfilter_view.cpp32 MPL_ASSERT(( equal< mpl::filter_view< types,boost::is_float<_> >::type,floats > )); in MPL_TEST_CASE()
36 mpl::filter_view< types,boost::is_float<_> > in MPL_TEST_CASE()
Dfold.cpp38 , if_< boost::is_float<_2>,next<_1>,_1 > in MPL_TEST_CASE()
Dcount_if.cpp29 MPL_ASSERT_RELATION( (count_if< types, boost::is_float<_> >::value), ==, 1 ); in MPL_TEST_CASE()
Dremove_if.cpp48 , is_float<_> in MPL_TEST_CASE()
Dcopy_if.cpp48 , is_float<_> in MPL_TEST_CASE()
Dfind_if.cpp29 typedef find_if< types, boost::is_float<_> >::type iter; in MPL_TEST_CASE()
/third_party/boost/boost/numeric/ublas/
Dtraits.hpp74 boost::is_float<R>,
84 boost::is_float<R>,
94 boost::is_float<R>,
104 boost::is_float<R>,
114 boost::is_float<R>,
124 boost::is_float<R>,
134 boost::is_float<R>,
144 boost::is_float<R>,
/third_party/ffmpeg/libavfilter/
Daf_astats.c104 int is_float; member
246 s->is_float = outlink->format == AV_SAMPLE_FMT_FLT || in config_output()
503 if ((s->is_float || s->is_double) && s->measure_perchannel & MEASURE_NUMBER_OF_NANS) in set_metadata()
505 if ((s->is_float || s->is_double) && s->measure_perchannel & MEASURE_NUMBER_OF_INFS) in set_metadata()
507 if ((s->is_float || s->is_double) && s->measure_perchannel & MEASURE_NUMBER_OF_DENORMALS) in set_metadata()
548 if ((s->is_float || s->is_double) && s->measure_overall & MEASURE_NUMBER_OF_NANS) in set_metadata()
550 if ((s->is_float || s->is_double) && s->measure_overall & MEASURE_NUMBER_OF_INFS) in set_metadata()
552 if ((s->is_float || s->is_double) && s->measure_overall & MEASURE_NUMBER_OF_DENORMALS) in set_metadata()
582 …pe, update_stat(s, p, sample, sample normalizer_suffix, int_sample), s->is_float ? update_float_st…
752 if ((s->is_float || s->is_double) && s->measure_perchannel & MEASURE_NUMBER_OF_NANS) in print_stats()
[all …]
/third_party/protobuf/src/google/protobuf/io/
Dtokenizer.cc429 bool is_float = false; in ConsumeNumber() local
446 is_float = true; in ConsumeNumber()
452 is_float = true; in ConsumeNumber()
458 is_float = true; in ConsumeNumber()
464 is_float = true; in ConsumeNumber()
471 if (is_float) { in ConsumeNumber()
479 return is_float ? TYPE_FLOAT : TYPE_INTEGER; in ConsumeNumber()
/third_party/mesa3d/src/egl/drivers/dri2/
Dplatform_drm.c102 bool is_float; in dri2_drm_config_is_compatible() local
112 dri2_get_render_type_float(dri2_dpy->core, config, &is_float); in dri2_drm_config_is_compatible()
133 is_float != visual->is_float) { in dri2_drm_config_is_compatible()
625 bool is_float; in drm_add_configs_for_visuals() local
629 dri2_get_render_type_float(dri2_dpy->core, config, &is_float); in drm_add_configs_for_visuals()
642 visuals[j].is_float != is_float) in drm_add_configs_for_visuals()
/third_party/boost/boost/archive/
Dbasic_text_oprimitive.hpp144 struct is_float { struct in boost::archive::basic_text_oprimitive
179 typename is_float<T>::type tf; in save()
/third_party/boost/boost/lexical_cast/detail/
Dconverter_numeric.hpp118 boost::is_float<Source>::value, in try_convert()
158 (boost::is_signed<Source>::value || boost::is_float<Source>::value) && in try_convert()
/third_party/mesa3d/src/panfrost/bifrost/valhall/
Dvalhall.py101 …def __init__(self, index, size, is_float = False, swizzle = False, widen = False, lanes = False, l… argument
102 self.is_float = is_float or absneg
211 is_float = el.get('float', False),
/third_party/boost/boost/type_traits/
Dis_float.hpp17 template <class T> struct is_float : public is_floating_point<T> {}; struct
/third_party/mindspore/tests/ut/python/pipeline/parse/
Dtest_isinstance.py44 is_float = isinstance(self.float_member, float)
66 return is_int, is_float, is_bool, bool_is_int, is_string, is_parameter, \
/third_party/mesa3d/src/compiler/
Dglsl_types.h831 bool is_float() const in is_float() function
841 return base_type == GLSL_TYPE_FLOAT16 || is_float(); in is_float_16_32()
849 return base_type == GLSL_TYPE_FLOAT16 || is_float() || is_double(); in is_float_16_32_64()
857 return is_float() || is_double(); in is_float_32_64()
/third_party/boost/libs/geometry/test/algorithms/overlay/
Dtraverse.cpp779 static const bool is_float in test_all() local
782 …static const double float_might_deviate_more = is_float ? 0.1 : 0.001; // In some cases up to 1 pr… in test_all()
789 is_float; in test_all()
800 double deviation = is_float ? 0.01 : 0.001; in test_all()
811 if ( BOOST_GEOMETRY_CONDITION(! is_float) ) in test_all()
881 if ( BOOST_GEOMETRY_CONDITION(! is_float) ) in test_all()
/third_party/mesa3d/src/mesa/drivers/dri/common/
Dutils.c231 bool is_float; in driCreateConfigs() local
294 is_float = _mesa_get_format_datatype(format) == GL_FLOAT; in driCreateConfigs()
324 modes->floatMode = is_float; in driCreateConfigs()
/third_party/mesa3d/src/gallium/drivers/r600/sfn/
Dsfn_alu_defines.h255 nsrc(ns), is_float(f), unit_mask(um), name(n) in AluOp()
264 int is_float:1; member
/third_party/mesa3d/src/compiler/glsl/
Dopt_algebraic.cpp148 assert(ir->type->is_float()); in is_less_than_one()
165 assert(ir->type->is_float()); in is_greater_than_zero()
193 expr0->type->is_float() && in try_replace_with_dot()
195 expr1->type->is_float()) { in try_replace_with_dot()
666 ir->type->is_float() || ir->type->is_double())) { in handle_expression()
863 if (!ir->type->is_float() || options->EmitNoSat) in handle_expression()

1234