Home
last modified time | relevance | path

Searched refs:lround (Results 1 - 25 of 33) sorted by relevance

12

/third_party/musl/porting/liteos_a/kernel/src/math/
H A Dlround.c3 long lround(double x) in lround() function
/third_party/musl/src/math/
H A Dlround.c3 long lround(double x) in lround() function
/third_party/musl/libc-test/src/api/
H A Dtgmath.c216 #ifdef lround in f()
217 {double r = lround(x);} in f()
219 #error no lround(x) in f()
H A Dmath.c170 {long(*p)(double) = lround;} in f()
/third_party/musl/src/math/powerpc64/
H A Dlround.c5 long lround(double x) in lround() function
16 #include "../lround.c"
/third_party/musl/src/math/aarch64/
H A Dlround.c3 long lround(double x) in lround() function
/third_party/skia/third_party/externals/harfbuzz/util/
H A Dansi-print.hh45 lround (double x) in lround() function
203 (*this)(x, y) = d < 0 ? 0 : d > dd ? 255 : lround (d * 255. / dd);
300 unsigned int which = lround ((double) ((best_i + 1) * 8) / bi.height);
332 unsigned int which = lround ((double) ((best_i + 1) * 8) / bi.width);
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/winrt/
H A DInspectableNativeWindow.cpp295 return {0, 0, lround(size.Width * mSwapChainScale), lround(size.Height * mSwapChainScale)}; in clientRect()
/third_party/musl/libc-test/src/math/
H A Dlround.c6 #include "sanity/lround.h"
7 #include "special/lround.h"
25 yi = lround(p->x); in main()
29 printf("%s:%d: bad fp exception: %s lround(%a)=%lld, want %s", in main()
35 printf("%s:%d: %s lround(%a) want %lld got %lld\n", in main()
/third_party/musl/porting/uniproton/kernel/include/
H A Dtgmath.h188 #undef lround macro
251 #define lround(x) __tg_real_nocast(lround, (x)) macro
H A Dmath.h283 long lround(double);
/third_party/musl/porting/liteos_m/kernel/include/
H A Dtgmath.h188 #undef lround macro
251 #define lround(x) __tg_real_nocast(lround, (x)) macro
H A Dmath.h283 long lround(double);
/third_party/musl/include/
H A Dtgmath.h188 #undef lround macro
251 #define lround(x) __tg_real_nocast(lround, (x)) macro
H A Dmath.h283 long lround(double);
/third_party/optimized-routines/math/
H A Dmath_config.h41 /* Compiler can inline lround, but not (long)round(x). */
116 return lround (x); in converttoint()
/third_party/benchmark/src/
H A Djson_reporter.cc106 int64_t RoundDouble(double v) { return std::lround(v); }
H A Dbenchmark_runner.cc328 std::lround(std::max(multiplier * static_cast<double>(i.iters), in PredictNumItersNeeded()
/third_party/musl/porting/liteos_a/kernel/include/
H A Dmath.h283 long lround(double);
/third_party/backends/backend/
H A Dpieusb_specific.c1232 val = lround((double)scanner->shading_mean[c] / scanner->shading_ref[c][width_to_loc[j]] * val_org); in sanei_pieusb_correct_shading()
1726 scanner->shading_ref[k][m] = lround((double)scanner->shading_ref[k][m]/shading_height); in pieusb_calculate_shading()
1735 scanner->shading_mean[k] = lround((double)scanner->shading_mean[k]/shading_width); in pieusb_calculate_shading()
2433 m = 60 + lround((gain-gains[11])/(gains[12]-gains[11])*5); in getGainSetting()
2441 m = 5*k + lround((gain-gains[k])/(gains[k+1]-gains[k])*5); in getGainSetting()
2507 scanner->settings.exposureTime[color_index] = lround( g / getGain(scanner->settings.gain[color_index]) * dg * scanner->preview_exposure[color_index] );
2529 scanner->settings.exposureTime[color_index] = lround( g / getGain(scanner->settings.gain[color_index]) * gain_increase * scanner->settings.exposureTime[color_index] ); in updateGain2()
/third_party/pulseaudio/src/tests/
H A Dresampler-rewind-test.c408 in_resampler_buffer = lround((delay_after - delay_expected) * (double)b.rate / (double)a.rate); in main()
/third_party/musl/libc-test/src/math/gen/
H A Dmplibm.c335 mp_f_i(lround) in mp_f_i()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/
H A DPPCTargetTransformInfo.cpp320 case Intrinsic::lround: Opcode = ISD::LROUND; break; in mightUseCTR()
/third_party/pulseaudio/src/pulse/
H A Dvolume.c272 * same volume value! That's why we need the lround() below! in pa_sw_volume_from_linear()
275 return (pa_volume_t) PA_CLAMP_VOLUME((uint64_t) lround(cbrt(v) * PA_VOLUME_NORM)); in pa_sw_volume_from_linear()
/third_party/mesa3d/src/gallium/auxiliary/hud/
H A Dhud_context.c960 if (fabs(value - lround(value)) > FLT_EPSILON) { in hud_graph_add_value()
964 fprintf(gr->fd, "%" PRIu64 "\n", (uint64_t) lround(value)); in hud_graph_add_value()

Completed in 19 milliseconds

12