Home
last modified time | relevance | path

Searched refs:rounded (Results 1 - 25 of 55) sorted by relevance

123

/third_party/mesa3d/src/compiler/nir/
H A Dnir_opt_shrink_vectors.c81 unsigned rounded = round_up_components(last_bit); in shrink_dest_to_read_mask() local
82 assert(rounded <= def->num_components); in shrink_dest_to_read_mask()
83 last_bit = rounded; in shrink_dest_to_read_mask()
198 unsigned rounded = round_up_components(num_components); in opt_shrink_vectors_alu() local
199 assert(rounded <= def->num_components); in opt_shrink_vectors_alu()
200 num_components = rounded; in opt_shrink_vectors_alu()
316 unsigned rounded = round_up_components(num_components); in opt_shrink_vectors_load_const() local
317 assert(rounded <= def->num_components); in opt_shrink_vectors_load_const()
318 num_components = rounded; in opt_shrink_vectors_load_const()
/third_party/node/deps/v8/src/execution/mips64/
H A Dsimulator-mips64.cc1059 bool Simulator::set_fcsr_round_error(double original, double rounded) { in set_fcsr_round_error() argument
1066 if (!std::isfinite(original) || !std::isfinite(rounded)) { in set_fcsr_round_error()
1072 if (original != rounded) { in set_fcsr_round_error()
1077 if (rounded < DBL_MIN && rounded > -DBL_MIN && rounded != 0) { in set_fcsr_round_error()
1083 if (rounded > max_int32 || rounded < min_int32) { in set_fcsr_round_error()
1097 bool Simulator::set_fcsr_round64_error(double original, double rounded) { in set_fcsr_round64_error() argument
1106 if (!std::isfinite(original) || !std::isfinite(rounded)) { in set_fcsr_round64_error()
1137 set_fcsr_round_error(float original, float rounded) set_fcsr_round_error() argument
1173 set_fpu_register_word_invalid_result(float original, float rounded) set_fpu_register_word_invalid_result() argument
1192 set_fpu_register_invalid_result(float original, float rounded) set_fpu_register_invalid_result() argument
1210 set_fpu_register_invalid_result64(float original, float rounded) set_fpu_register_invalid_result64() argument
1231 set_fpu_register_word_invalid_result(double original, double rounded) set_fpu_register_word_invalid_result() argument
1250 set_fpu_register_invalid_result(double original, double rounded) set_fpu_register_invalid_result() argument
1269 set_fpu_register_invalid_result64(double original, double rounded) set_fpu_register_invalid_result64() argument
1292 set_fcsr_round64_error(float original, float rounded) set_fcsr_round64_error() argument
1331 round_according_to_fcsr(double toRound, double* rounded, int32_t* rounded_int, double fs) round_according_to_fcsr() argument
1372 round64_according_to_fcsr(double toRound, double* rounded, int64_t* rounded_int, double fs) round64_according_to_fcsr() argument
1414 round_according_to_fcsr(float toRound, float* rounded, int32_t* rounded_int, float fs) round_according_to_fcsr() argument
1455 round64_according_to_fcsr(float toRound, float* rounded, int64_t* rounded_int, float fs) round64_according_to_fcsr() argument
1497 round_according_to_msacsr(T_fp toRound, T_fp* rounded, T_int* rounded_int) round_according_to_msacsr() argument
2895 float rounded; DecodeTypeRegisterSRsType() local
2905 float rounded; DecodeTypeRegisterSRsType() local
2915 float rounded = trunc(fs); DecodeTypeRegisterSRsType() local
2923 float rounded = trunc(fs); DecodeTypeRegisterSRsType() local
2932 float rounded = std::floor(fs + 0.5); DecodeTypeRegisterSRsType() local
2946 float rounded = std::floor(fs + 0.5); DecodeTypeRegisterSRsType() local
2961 float rounded = floor(fs); DecodeTypeRegisterSRsType() local
2971 float rounded = std::floor(fs); DecodeTypeRegisterSRsType() local
2980 float rounded = std::ceil(fs); DecodeTypeRegisterSRsType() local
2988 float rounded = ceil(fs); DecodeTypeRegisterSRsType() local
3255 double rounded; DecodeTypeRegisterDRsType() local
3266 double rounded = std::floor(fs + 0.5); DecodeTypeRegisterDRsType() local
3280 double rounded = trunc(fs); DecodeTypeRegisterDRsType() local
3289 double rounded = std::floor(fs); DecodeTypeRegisterDRsType() local
3298 double rounded = std::ceil(fs); DecodeTypeRegisterDRsType() local
3309 double rounded; DecodeTypeRegisterDRsType() local
3319 double rounded = std::floor(fs + 0.5); DecodeTypeRegisterDRsType() local
3334 double rounded = trunc(fs); DecodeTypeRegisterDRsType() local
3343 double rounded = floor(fs); DecodeTypeRegisterDRsType() local
3352 double rounded = ceil(fs); DecodeTypeRegisterDRsType() local
[all...]
H A Dsimulator-mips64.h254 void set_fpu_register_invalid_result64(float original, float rounded);
255 void set_fpu_register_invalid_result(float original, float rounded);
256 void set_fpu_register_word_invalid_result(float original, float rounded);
257 void set_fpu_register_invalid_result64(double original, double rounded);
258 void set_fpu_register_invalid_result(double original, double rounded);
259 void set_fpu_register_word_invalid_result(double original, double rounded);
272 bool set_fcsr_round_error(double original, double rounded);
273 bool set_fcsr_round64_error(double original, double rounded);
274 bool set_fcsr_round_error(float original, float rounded);
275 bool set_fcsr_round64_error(float original, float rounded);
[all...]
/third_party/node/deps/v8/src/execution/mips/
H A Dsimulator-mips.cc1129 float rounded) { in set_fpu_register_word_invalid_result()
1135 } else if (rounded > max_int32) { in set_fpu_register_word_invalid_result()
1137 } else if (rounded < min_int32) { in set_fpu_register_word_invalid_result()
1147 void Simulator::set_fpu_register_invalid_result(float original, float rounded) { in set_fpu_register_invalid_result() argument
1153 } else if (rounded > max_int32) { in set_fpu_register_invalid_result()
1155 } else if (rounded < min_int32) { in set_fpu_register_invalid_result()
1166 float rounded) { in set_fpu_register_invalid_result64()
1174 } else if (rounded >= max_int64) { in set_fpu_register_invalid_result64()
1176 } else if (rounded < min_int64) { in set_fpu_register_invalid_result64()
1187 double rounded) { in set_fpu_register_word_invalid_result()
1128 set_fpu_register_word_invalid_result(float original, float rounded) set_fpu_register_word_invalid_result() argument
1165 set_fpu_register_invalid_result64(float original, float rounded) set_fpu_register_invalid_result64() argument
1186 set_fpu_register_word_invalid_result(double original, double rounded) set_fpu_register_word_invalid_result() argument
1205 set_fpu_register_invalid_result(double original, double rounded) set_fpu_register_invalid_result() argument
1224 set_fpu_register_invalid_result64(double original, double rounded) set_fpu_register_invalid_result64() argument
1247 set_fcsr_round_error(double original, double rounded) set_fcsr_round_error() argument
1285 set_fcsr_round64_error(double original, double rounded) set_fcsr_round64_error() argument
1325 set_fcsr_round_error(float original, float rounded) set_fcsr_round_error() argument
1363 set_fcsr_round64_error(float original, float rounded) set_fcsr_round64_error() argument
1401 round_according_to_fcsr(double toRound, double* rounded, int32_t* rounded_int, double fs) round_according_to_fcsr() argument
1442 round_according_to_fcsr(float toRound, float* rounded, int32_t* rounded_int, float fs) round_according_to_fcsr() argument
1484 round_according_to_msacsr(T_fp toRound, T_fp* rounded, T_int* rounded_int) round_according_to_msacsr() argument
1525 round64_according_to_fcsr(double toRound, double* rounded, int64_t* rounded_int, double fs) round64_according_to_fcsr() argument
1566 round64_according_to_fcsr(float toRound, float* rounded, int64_t* rounded_int, float fs) round64_according_to_fcsr() argument
2874 double rounded; DecodeTypeRegisterDRsType() local
2884 double rounded = std::floor(fs + 0.5); DecodeTypeRegisterDRsType() local
2898 double rounded = trunc(fs); DecodeTypeRegisterDRsType() local
2907 double rounded = std::floor(fs); DecodeTypeRegisterDRsType() local
2916 double rounded = std::ceil(fs); DecodeTypeRegisterDRsType() local
2929 double rounded; DecodeTypeRegisterDRsType() local
2942 double rounded = trunc(fs); DecodeTypeRegisterDRsType() local
2956 double rounded = std::floor(fs + 0.5); DecodeTypeRegisterDRsType() local
2976 double rounded = std::floor(fs); DecodeTypeRegisterDRsType() local
2990 double rounded = std::ceil(fs); DecodeTypeRegisterDRsType() local
3421 float rounded = trunc(fs); DecodeTypeRegisterSRsType() local
3430 float rounded = trunc(fs); DecodeTypeRegisterSRsType() local
3444 float rounded = std::floor(fs); DecodeTypeRegisterSRsType() local
3453 float rounded = std::floor(fs); DecodeTypeRegisterSRsType() local
3466 float rounded = std::floor(fs + 0.5); DecodeTypeRegisterSRsType() local
3481 float rounded = std::floor(fs + 0.5); DecodeTypeRegisterSRsType() local
3501 float rounded = std::ceil(fs); DecodeTypeRegisterSRsType() local
3510 float rounded = std::ceil(fs); DecodeTypeRegisterSRsType() local
3541 float rounded; DecodeTypeRegisterSRsType() local
3553 float rounded; DecodeTypeRegisterSRsType() local
[all...]
H A Dsimulator-mips.h253 void set_fpu_register_invalid_result64(float original, float rounded);
254 void set_fpu_register_invalid_result(float original, float rounded);
255 void set_fpu_register_word_invalid_result(float original, float rounded);
256 void set_fpu_register_invalid_result64(double original, double rounded);
257 void set_fpu_register_invalid_result(double original, double rounded);
258 void set_fpu_register_word_invalid_result(double original, double rounded);
276 bool set_fcsr_round_error(double original, double rounded);
277 bool set_fcsr_round_error(float original, float rounded);
278 bool set_fcsr_round64_error(double original, double rounded);
279 bool set_fcsr_round64_error(float original, float rounded);
[all...]
/third_party/node/deps/v8/src/execution/loong64/
H A Dsimulator-loong64.cc1038 bool Simulator::set_fcsr_round_error(double original, double rounded) { in set_fcsr_round_error() argument
1047 if (!std::isfinite(original) || !std::isfinite(rounded)) { in set_fcsr_round_error()
1052 if (original != rounded) { in set_fcsr_round_error()
1056 if (rounded < DBL_MIN && rounded > -DBL_MIN && rounded != 0) { in set_fcsr_round_error()
1061 if (rounded > max_int32 || rounded < min_int32) { in set_fcsr_round_error()
1073 bool Simulator::set_fcsr_round64_error(double original, double rounded) { in set_fcsr_round64_error() argument
1084 if (!std::isfinite(original) || !std::isfinite(rounded)) { in set_fcsr_round64_error()
1110 set_fcsr_round_error(float original, float rounded) set_fcsr_round_error() argument
1143 set_fpu_register_word_invalid_result(float original, float rounded) set_fpu_register_word_invalid_result() argument
1158 set_fpu_register_invalid_result(float original, float rounded) set_fpu_register_invalid_result() argument
1172 set_fpu_register_invalid_result64(float original, float rounded) set_fpu_register_invalid_result64() argument
1189 set_fpu_register_word_invalid_result(double original, double rounded) set_fpu_register_word_invalid_result() argument
1204 set_fpu_register_invalid_result(double original, double rounded) set_fpu_register_invalid_result() argument
1219 set_fpu_register_invalid_result64(double original, double rounded) set_fpu_register_invalid_result64() argument
1238 set_fcsr_round64_error(float original, float rounded) set_fcsr_round64_error() argument
1274 round_according_to_fcsr(double toRound, double* rounded, int32_t* rounded_int) round_according_to_fcsr() argument
1316 round64_according_to_fcsr(double toRound, double* rounded, int64_t* rounded_int) round64_according_to_fcsr() argument
1357 round_according_to_fcsr(float toRound, float* rounded, int32_t* rounded_int) round_according_to_fcsr() argument
1398 round64_according_to_fcsr(float toRound, float* rounded, int64_t* rounded_int) round64_according_to_fcsr() argument
4695 float rounded = std::floor(fj); DecodeTypeOp22() local
4708 double rounded = std::floor(fj); DecodeTypeOp22() local
4721 float rounded = std::floor(fj); DecodeTypeOp22() local
4734 double rounded = std::floor(fj); DecodeTypeOp22() local
4747 float rounded = std::ceil(fj); DecodeTypeOp22() local
4760 double rounded = std::ceil(fj); DecodeTypeOp22() local
4773 float rounded = std::ceil(fj); DecodeTypeOp22() local
4786 double rounded = std::ceil(fj); DecodeTypeOp22() local
4799 float rounded = std::trunc(fj); DecodeTypeOp22() local
4812 double rounded = std::trunc(fj); DecodeTypeOp22() local
4825 float rounded = std::trunc(fj); DecodeTypeOp22() local
4838 double rounded = std::trunc(fj); DecodeTypeOp22() local
4851 float rounded = std::floor(fj + 0.5); DecodeTypeOp22() local
4869 double rounded = std::floor(fj + 0.5); DecodeTypeOp22() local
4887 float rounded = std::floor(fj + 0.5); DecodeTypeOp22() local
4905 double rounded = std::floor(fj + 0.5); DecodeTypeOp22() local
4923 float rounded; DecodeTypeOp22() local
4937 double rounded; DecodeTypeOp22() local
4951 float rounded; DecodeTypeOp22() local
4965 double rounded; DecodeTypeOp22() local
[all...]
H A Dsimulator-loong64.h226 void set_fpu_register_invalid_result64(float original, float rounded);
227 void set_fpu_register_invalid_result(float original, float rounded);
228 void set_fpu_register_word_invalid_result(float original, float rounded);
229 void set_fpu_register_invalid_result64(double original, double rounded);
230 void set_fpu_register_invalid_result(double original, double rounded);
231 void set_fpu_register_word_invalid_result(double original, double rounded);
244 bool set_fcsr_round_error(double original, double rounded);
245 bool set_fcsr_round64_error(double original, double rounded);
246 bool set_fcsr_round_error(float original, float rounded);
247 bool set_fcsr_round64_error(float original, float rounded);
[all...]
/third_party/skia/modules/skottie/src/layers/shapelayer/
H A DRoundCorners.cpp45 std::vector<sk_sp<sksg::GeometryNode>> rounded; in AttachRoundGeometryEffect() local
46 rounded.reserve(geos.size()); in AttachRoundGeometryEffect()
49 rounded.push_back( in AttachRoundGeometryEffect()
54 return rounded; in AttachRoundGeometryEffect()
/third_party/node/deps/v8/src/wasm/baseline/loong64/
H A Dliftoff-assembler-loong64.h1328 LiftoffRegister rounded = GetUnusedRegister(kFpReg, LiftoffRegList{src}); in emit_type_conversion() local
1330 GetUnusedRegister(kFpReg, LiftoffRegList{src, rounded}); in emit_type_conversion()
1333 TurboAssembler::Trunc_s(rounded.fp(), src.fp()); in emit_type_conversion()
1334 ftintrz_w_s(kScratchDoubleReg, rounded.fp()); in emit_type_conversion()
1345 TurboAssembler::CompareF32(rounded.fp(), converted_back.fp(), CEQ); in emit_type_conversion()
1350 LiftoffRegister rounded = GetUnusedRegister(kFpReg, LiftoffRegList{src}); in emit_type_conversion() local
1352 GetUnusedRegister(kFpReg, LiftoffRegList{src, rounded}); in emit_type_conversion()
1355 TurboAssembler::Trunc_s(rounded.fp(), src.fp()); in emit_type_conversion()
1356 TurboAssembler::Ftintrz_uw_s(dst.gp(), rounded.fp(), kScratchDoubleReg); in emit_type_conversion()
1365 TurboAssembler::CompareF32(rounded in emit_type_conversion()
1370 LiftoffRegister rounded = GetUnusedRegister(kFpReg, LiftoffRegList{src}); emit_type_conversion() local
1386 LiftoffRegister rounded = GetUnusedRegister(kFpReg, LiftoffRegList{src}); emit_type_conversion() local
1410 LiftoffRegister rounded = GetUnusedRegister(kFpReg, LiftoffRegList{src}); emit_type_conversion() local
1441 LiftoffRegister rounded = GetUnusedRegister(kFpReg, LiftoffRegList{src}); emit_type_conversion() local
[all...]
/third_party/ntfs-3g/libntfs-3g/
H A Dcompress.c1062 * returns the size actually written (rounded to a full cluster)
1076 s32 rounded; in ntfs_comp_set() local
1141 rounded = ((compsz - 1) | (clsz - 1)) + 1; in ntfs_comp_set()
1142 memset(&outbuf[compsz], 0, rounded - compsz); in ntfs_comp_set()
1143 written = write_clusters(vol, rl, offs, rounded, outbuf); in ntfs_comp_set()
1144 if (written != rounded) { in ntfs_comp_set()
1621 * returns the size actually written (rounded to a full cluster)
1630 s32 rounded; in ntfs_flush() local
1647 rounded = ((count - 1) | (clsz - 1)) + 1; in ntfs_flush()
1648 if (rounded > coun in ntfs_flush()
1670 ntfs_compressed_pwrite(ntfs_attr *na, runlist_element *wrl, s64 wpos, s64 offs, s64 to_write, s64 rounded, const void *b, int compressed_part, VCN *update_from) ntfs_compressed_pwrite() argument
[all...]
/third_party/mesa3d/src/panfrost/midgard/
H A Dmidgard_opt_dce.c86 unsigned rounded = mir_round_bytemask_up(live[ins->dest], round_size); in midgard_opt_dead_code_eliminate_block() local
87 unsigned cmask = mir_from_bytemask(rounded, type_size); in midgard_opt_dead_code_eliminate_block()
H A Dmir_promote_uniforms.c335 uint16_t rounded = mir_round_bytemask_up(mir_bytemask(ins), type_size); in midgard_promote_uniforms() local
336 mir_set_bytemask(&mov, rounded); in midgard_promote_uniforms()
/third_party/skia/experimental/lowp-basic/
H A Dlerp-study.cpp66 int32_t rounded = temp + 32768; in full_res_lerp() local
67 return rounded >> 16; in full_res_lerp()
H A Dbilerp-study.cpp64 int64_t rounded = temp + (1LL << 31); in full_res_bilerp() local
65 return rounded >> 32; in full_res_bilerp()
/third_party/vk-gl-cts/framework/common/
H A DtcuBilinearImageCompare.cpp80 const deUint32 rounded = (sum + half) >> (NUM_SUBPIXEL_BITS*2); in interpolateChannel() local
82 DE_ASSERT(de::inRange<deUint32>(rounded, 0, 0xff)); in interpolateChannel()
83 return (deUint8)rounded; in interpolateChannel()
/third_party/protobuf/python/google/protobuf/internal/
H A Dtype_checkers.py88 rounded = float('{0:.{1}g}'.format(original, precision))
89 while TruncateToFourByteFloat(rounded) != original:
91 rounded = float('{0:.{1}g}'.format(original, precision))
92 return rounded
/third_party/ntfs-3g/include/ntfs-3g/
H A Dcompress.h33 s64 offs, s64 to_write, s64 rounded,
/third_party/node/deps/v8/src/wasm/baseline/mips64/
H A Dliftoff-assembler-mips64.h1472 LiftoffRegister rounded = GetUnusedRegister(kFpReg, LiftoffRegList{src}); in emit_type_conversion() local
1474 GetUnusedRegister(kFpReg, LiftoffRegList{src, rounded}); in emit_type_conversion()
1477 TurboAssembler::Trunc_s_s(rounded.fp(), src.fp()); in emit_type_conversion()
1478 trunc_w_s(kScratchDoubleReg, rounded.fp()); in emit_type_conversion()
1489 TurboAssembler::CompareF32(EQ, rounded.fp(), converted_back.fp()); in emit_type_conversion()
1494 LiftoffRegister rounded = GetUnusedRegister(kFpReg, LiftoffRegList{src}); in emit_type_conversion() local
1496 GetUnusedRegister(kFpReg, LiftoffRegList{src, rounded}); in emit_type_conversion()
1499 TurboAssembler::Trunc_s_s(rounded.fp(), src.fp()); in emit_type_conversion()
1500 TurboAssembler::Trunc_uw_s(dst.gp(), rounded.fp(), kScratchDoubleReg); in emit_type_conversion()
1509 TurboAssembler::CompareF32(EQ, rounded in emit_type_conversion()
1514 LiftoffRegister rounded = GetUnusedRegister(kFpReg, LiftoffRegList{src}); emit_type_conversion() local
1530 LiftoffRegister rounded = GetUnusedRegister(kFpReg, LiftoffRegList{src}); emit_type_conversion() local
1554 LiftoffRegister rounded = GetUnusedRegister(kFpReg, LiftoffRegList{src}); emit_type_conversion() local
1585 LiftoffRegister rounded = GetUnusedRegister(kFpReg, LiftoffRegList{src}); emit_type_conversion() local
[all...]
/third_party/python/Modules/_decimal/tests/
H A Ddeccheck.py413 the exact result x is rounded according to mode.
433 def check_ulpdiff(self, exact, rounded):
441 y = rounded
442 if rounded.is_infinite():
443 y = _dec_from_triple(rounded._sign, '10', context.p.Emax)
445 # err = (rounded - exact) / ulp(rounded)
472 % (ulp, err, exact, rounded))
491 # _decimal's rounded result
492 rounded
[all...]
/third_party/node/deps/v8/src/execution/riscv64/
H A Dsimulator-riscv64.cc3282 float rounded = 0; in RoundF2FHelper() local
3285 rounded = floorf(input_val); in RoundF2FHelper()
3286 float error = input_val - rounded; in RoundF2FHelper()
3291 rounded = -0.0; in RoundF2FHelper()
3296 ((error == 0.5) && (std::fmod(rounded, 2) != 0))) { in RoundF2FHelper()
3297 rounded++; in RoundF2FHelper()
3302 rounded = std::truncf(input_val); in RoundF2FHelper()
3305 rounded = floorf(input_val); in RoundF2FHelper()
3308 rounded = ceilf(input_val); in RoundF2FHelper()
3311 rounded in RoundF2FHelper()
3323 double rounded = 0; RoundF2FHelper() local
3383 F_TYPE rounded = RoundF2FHelper(original, rmode); RoundF2IHelper() local
[all...]
/third_party/mesa3d/src/intel/compiler/
H A Dbrw_vec4_visitor.cpp529 dst_reg rounded(this, glsl_type::vec4_type); in emit_pack_unorm_4x8()
530 emit(RNDE(rounded, src_reg(scaled))); in emit_pack_unorm_4x8()
533 emit(MOV(u, src_reg(rounded))); in emit_pack_unorm_4x8()
551 dst_reg rounded(this, glsl_type::vec4_type); in emit_pack_snorm_4x8()
552 emit(RNDE(rounded, src_reg(scaled))); in emit_pack_snorm_4x8()
555 emit(MOV(i, src_reg(rounded))); in emit_pack_snorm_4x8()
/third_party/python/Objects/
H A Dfloatobject.c958 /* version of double_round that uses the correctly-rounded string<->double
964 double rounded; in double_round() local
998 rounded = _Py_dg_strtod(mybuf, NULL); in double_round()
1000 if (errno == ERANGE && fabs(rounded) >= 1.) in double_round()
1002 "rounded value too large to represent"); in double_round()
1004 result = PyFloat_FromDouble(rounded); in double_round()
1016 /* fallback version, to be used when correctly rounded binary<->decimal
1034 /* if y overflows, then rounded value is exactly x */ in double_round()
1083 double x, rounded; in float___round___impl() local
1090 rounded in float___round___impl()
[all...]
/third_party/node/deps/v8/src/wasm/baseline/mips/
H A Dliftoff-assembler-mips.h1388 LiftoffRegister rounded = GetUnusedRegister(kFpReg, LiftoffRegList{src}); in emit_type_conversion() local
1390 GetUnusedRegister(kFpReg, LiftoffRegList{src, rounded}); in emit_type_conversion()
1393 TurboAssembler::Trunc_s_s(rounded.fp(), src.fp()); in emit_type_conversion()
1394 trunc_w_s(kScratchDoubleReg, rounded.fp()); in emit_type_conversion()
1405 TurboAssembler::CompareF32(EQ, rounded.fp(), converted_back.fp()); in emit_type_conversion()
1410 LiftoffRegister rounded = GetUnusedRegister(kFpReg, LiftoffRegList{src}); in emit_type_conversion() local
1412 GetUnusedRegister(kFpReg, LiftoffRegList{src, rounded}); in emit_type_conversion()
1415 TurboAssembler::Trunc_s_s(rounded.fp(), src.fp()); in emit_type_conversion()
1416 TurboAssembler::Trunc_uw_s(dst.gp(), rounded.fp(), kScratchDoubleReg); in emit_type_conversion()
1426 TurboAssembler::CompareF32(EQ, rounded in emit_type_conversion()
1449 LiftoffRegister rounded = emit_type_conversion() local
[all...]
/third_party/python/Python/
H A Dpytime.c248 double rounded = round(x); in pytime_round_half_even() local
249 if (fabs(x-rounded) == 0.5) { in pytime_round_half_even()
251 rounded = 2.0 * round(x / 2.0); in pytime_round_half_even()
253 return rounded; in pytime_round_half_even()
260 /* volatile avoids optimization changing how numbers are rounded */ in pytime_round()
287 /* volatile avoids optimization changing how numbers are rounded */ in pytime_double_to_denominator()
361 /* volatile avoids optimization changing how numbers are rounded */ in _PyTime_ObjectToTime_t()
524 /* volatile avoids optimization changing how numbers are rounded */ in pytime_from_double()
597 /* volatile avoids optimization changing how numbers are rounded */ in _PyTime_AsSecondsDouble()
/third_party/skia/third_party/externals/dng_sdk/source/
H A Ddng_matrix.cpp278 real64 rounded = Round_int32 (fData [j] [k] * factor) * invFactor; in SafeRound() local
280 error = fData [j] [k] - rounded; in SafeRound()
282 fData [j] [k] = rounded; in SafeRound()

Completed in 50 milliseconds

123