Home
last modified time | relevance | path

Searched refs:dval (Results 1 – 25 of 26) sorted by relevance

12

/external/valgrind/main/none/tests/s390x/
Drounding-6.c71 static const double dval[] = { in main() local
101 for (j = 0; j < sizeof dval / sizeof dval[0]; ++j) { in main()
103 cfdbr(dval[j], M3_BFP_ROUND_NEAREST_EVEN); in main()
105 cfdbr(dval[j], M3_BFP_ROUND_ZERO); in main()
106 cfdbr(dval[j], M3_BFP_ROUND_POSINF); in main()
107 cfdbr(dval[j], M3_BFP_ROUND_NEGINF); in main()
111 for (j = 0; j < sizeof dval / sizeof dval[0]; ++j) { in main()
113 cgdbr(dval[j], M3_BFP_ROUND_NEAREST_EVEN); in main()
115 cgdbr(dval[j], M3_BFP_ROUND_ZERO); in main()
116 cgdbr(dval[j], M3_BFP_ROUND_POSINF); in main()
[all …]
Drounding-1.c49 double dval; in main() local
51 dval = -2147483648.5; // a < MN in main()
55 cfdbr(4, dval); // round to nearest with ties to even in main()
56 cfdbr(5, dval); // round to zero in main()
57 cfdbr(6, dval); // round to +inf in main()
61 cfdbr(7, dval); // round to -inf in main()
Drounding-3.c76 static const double dval[] = { in main() local
99 for (j = 0; j < sizeof dval / sizeof dval[0]; ++j) { in main()
100 cfdbr(dval[j]); in main()
105 for (j = 0; j < sizeof dval / sizeof dval[0]; ++j) { in main()
106 cgdbr(dval[j]); in main()
/external/chromium_org/third_party/WebKit/Source/wtf/
Ddtoa.cpp65 #define dval(x) (x)->d macro
760 if (!dval(&u)) { in dtoa()
777 dval(&d2) = dval(&u); in dtoa()
811 dval(&d2) = x; in dtoa()
816 ds = (dval(&d2) - 1.5) * 0.289529654602168 + 0.1760912590558 + (i * 0.301029995663981); in dtoa()
822 if (dval(&u) < tens[k]) in dtoa()
868 dval(&d2) = dval(&u); in dtoa()
878 dval(&u) /= bigtens[n_bigtens - 1]; in dtoa()
887 dval(&u) /= ds; in dtoa()
889 dval(&u) *= tens[j1 & 0xf]; in dtoa()
[all …]
/external/chromium_org/base/third_party/dmg_fp/
Ddtoa.cc313 #define dval(x) (x)->d macro
1200 return dval(&u);
1270 return dval(&d);
1422 dval(&da) = b2d(a, &ka);
1423 dval(&db) = b2d(b, &kb);
1433 dval(&da) *= 1 << k;
1439 dval(&db) *= 1 << k;
1449 return dval(&da) / dval(&db);
2401 dval(rv) += 2.*ulp(rv);
2418 dval(rv) -= ulp(rv);
[all …]
Dmsvc_warnings.patch206 dval(&rv) *= tens[i];
216 dval(&rv) /= tens[i];
257 dval(&d2) = dval(&u);
261 dval(&u) /= ds;
264 - dval(&u) *= tens[j1 & 0xf];
268 - dval(&u) *= bigtens[i];
273 + dval(&u) *= tens[j1 & 0xf];
277 + dval(&u) *= bigtens[i];
281 if (k_check && dval(&u) < 1. && ilim > 0) {
285 dval(&eps) = 0.5/tens[ilim-1] - dval(&eps);
[all …]
Dfloat_precision_crash.patch9 - for(i = 1;; i++, dval(&u) *= 10.) {
10 + for(i = 1; i <= k + 1; i++, dval(&u) *= 10.) {
11 L = (Long)(dval(&u) / ds);
12 dval(&u) -= L*ds;
Dmac_wextra.patch37 if (dval(&u) > 0.5 + dval(&eps))
39 else if (dval(&u) < 0.5 - dval(&eps)) {
/external/srec/srec/clib/
Dswimodel.c443 prdata dval; in mixture_diagonal_gaussian_swimodel() local
464 dval = pval - gval; in mixture_diagonal_gaussian_swimodel()
465 if (dval < prep->add.add_log_limit) in mixture_diagonal_gaussian_swimodel()
466 pval += log_increment_inline(dval, &prep->add); in mixture_diagonal_gaussian_swimodel()
470 dval = gval - pval; in mixture_diagonal_gaussian_swimodel()
471 if (dval < prep->add.add_log_limit) in mixture_diagonal_gaussian_swimodel()
472 pval = gval + log_increment_inline(dval, &prep->add); in mixture_diagonal_gaussian_swimodel()
/external/ppp/pppd/plugins/radius/
Ddict.c47 DICT_VALUE *dval; in rc_read_dictionary() local
249 if ((dval = in rc_read_dictionary()
257 strcpy (dval->attrname, attrstr); in rc_read_dictionary()
258 strcpy (dval->name, namestr); in rc_read_dictionary()
259 dval->value = value; in rc_read_dictionary()
262 dval->next = dictionary_values; in rc_read_dictionary()
263 dictionary_values = dval; in rc_read_dictionary()
Davpair.c528 DICT_VALUE *dval; in rc_avpair_parse() local
611 if ((dval = rc_dict_findval (valstr)) in rc_avpair_parse()
624 pair->lvalue = dval->value; in rc_avpair_parse()
694 DICT_VALUE *dval; in rc_avpair_tostr() local
733 dval = rc_dict_getval (pair->lvalue, pair->name); in rc_avpair_tostr()
734 if (dval != (DICT_VALUE *) NULL) in rc_avpair_tostr()
736 strncpy(value, dval->name, (size_t) lv-1); in rc_avpair_tostr()
/external/chromium_org/third_party/WebKit/Source/platform/text/
DTextStream.cpp46 double dval = static_cast<double>(ival); in hasFractions() local
47 return fabs(val - dval) > s_epsilon; in hasFractions()
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_printf.cc152 s64 dval; in VSNPrintf() local
159 dval = have_ll ? va_arg(args, s64) in VSNPrintf()
162 result += AppendSignedDecimal(&buff, buff_end, dval, width, in VSNPrintf()
/external/opencv/ml/src/
Dmlann_mlp.cpp1254 double dval = dwk[j]; in train_rprop() local
1260 dval *= dw_plus; in train_rprop()
1261 dval = MIN( dval, dw_max ); in train_rprop()
1262 dwk[j] = dval; in train_rprop()
1263 wk[j] = wval + dval*s; in train_rprop()
1267 dval *= dw_minus; in train_rprop()
1268 dval = MAX( dval, dw_min ); in train_rprop()
1270 dwk[j] = dval; in train_rprop()
1271 wk[j] = wval + dval*s; in train_rprop()
1276 wk[j] = wval + dval*s; in train_rprop()
/external/chromium_org/ppapi/native_client/src/trusted/plugin/
Dnacl_subprocess.cc88 params->ins()[i]->u.dval = input; in VInvokeSrpcMethod()
/external/sfntly/cpp/src/test/tinyxml/
Dtinyxml.cpp720 int TiXmlElement::QueryDoubleAttribute( const char* name, double* dval ) const in QueryDoubleAttribute()
725 return attrib->QueryDoubleValue( dval ); in QueryDoubleAttribute()
730 int TiXmlElement::QueryDoubleAttribute( const std::string& name, double* dval ) const in QueryDoubleAttribute()
735 return attrib->QueryDoubleValue( dval ); in QueryDoubleAttribute()
1243 int TiXmlAttribute::QueryDoubleValue( double* dval ) const in QueryDoubleValue()
1245 if ( TIXML_SSCANF( value.c_str(), "%lf", dval ) == 1 ) in QueryDoubleValue()
/external/chromium_org/third_party/sfntly/cpp/src/test/tinyxml/
Dtinyxml.cpp720 int TiXmlElement::QueryDoubleAttribute( const char* name, double* dval ) const in QueryDoubleAttribute()
725 return attrib->QueryDoubleValue( dval ); in QueryDoubleAttribute()
730 int TiXmlElement::QueryDoubleAttribute( const std::string& name, double* dval ) const in QueryDoubleAttribute()
735 return attrib->QueryDoubleValue( dval ); in QueryDoubleAttribute()
1243 int TiXmlAttribute::QueryDoubleValue( double* dval ) const in QueryDoubleValue()
1245 if ( TIXML_SSCANF( value.c_str(), "%lf", dval ) == 1 ) in QueryDoubleValue()
/external/tinyxml/
Dtinyxml.cpp711 int TiXmlElement::QueryDoubleAttribute( const char* name, double* dval ) const in QueryDoubleAttribute()
717 return node->QueryDoubleValue( dval ); in QueryDoubleAttribute()
1237 int TiXmlAttribute::QueryDoubleValue( double* dval ) const in QueryDoubleValue()
1239 if ( sscanf( value.c_str(), "%lf", dval ) == 1 ) in QueryDoubleValue()
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/framework/jdwp/
DPacket.java345 public void setNextValueAsDouble(double dval) { in setNextValueAsDouble() argument
349 long val = Double.doubleToLongBits(dval); in setNextValueAsDouble()
/external/mesa3d/src/gallium/drivers/nv50/codegen/
Dnv50_ir_ra.cpp1490 LValue *dval = (*d)->get()->asLValue(); in run() local
1494 while (!dval->uses.empty()) { in run()
1495 ValueRef *u = dval->uses.front(); in run()
1503 tmp = unspill(usei, dval, slot); in run()
1518 spill(defi, slot, dval); in run()
Dnv50_ir.cpp345 ImmediateValue::ImmediateValue(Program *prog, double dval) in ImmediateValue() argument
353 reg.data.f64 = dval; in ImmediateValue()
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/nv50/codegen/
Dnv50_ir_ra.cpp1490 LValue *dval = (*d)->get()->asLValue(); in run() local
1494 while (!dval->uses.empty()) { in run()
1495 ValueRef *u = dval->uses.front(); in run()
1503 tmp = unspill(usei, dval, slot); in run()
1518 spill(defi, slot, dval); in run()
Dnv50_ir.cpp345 ImmediateValue::ImmediateValue(Program *prog, double dval) in ImmediateValue() argument
353 reg.data.f64 = dval; in ImmediateValue()
/external/llvm/test/Transforms/Scalarizer/
Dbasic.ll70 %dval = bitcast <4 x float> %val to <2 x double>
72 %shuffle1 = shufflevector <2 x double> %dval, <2 x double> %dacc,
74 %shuffle2 = shufflevector <2 x double> %dval, <2 x double> %dacc,
/external/llvm/test/CodeGen/ARM/
Ddebug-info-d16-reg.ll86 !24 = metadata !{i32 786688, metadata !25, metadata !"dval", metadata !1, i32 19, metadata !7, i32 …

12