Searched refs:round (Results 1 - 25 of 39) sorted by relevance

12

/haiku-fatelf/src/system/libroot/posix/glibc/arch/m68k/
H A Dfesetround.c24 fesetround (int round) argument
28 if (round & ~FE_UPWARD)
34 fpcr |= round;
/haiku-fatelf/src/system/libroot/posix/glibc/arch/ppc/
H A Dfesetround.c24 fesetround (int round) argument
28 if ((unsigned int) round > 3)
35 u.l[1] = (u.l[1] & ~3) | (round & 3);
/haiku-fatelf/src/preferences/screen/
H A DUtility.h6 extern float round(float n, int32 max);
H A DUtility.cpp4 float round(float n, int32 max) function
H A DMonitorView.cpp229 fDPI = (int32)round((fWidth / x + fHeight / y) / 2);
/haiku-fatelf/src/system/libroot/posix/glibc/arch/x86/
H A Dfesetround.c25 fesetround (int round) argument
29 if ((round & ~0xc00) != 0)
35 cw |= round;
47 xcw |= round << 3;
/haiku-fatelf/src/system/libroot/posix/glibc/arch/x86_64/
H A Dfesetround.c23 fesetround (int round) argument
28 if ((round & ~0xc00) != 0)
35 cw |= round;
42 mxcsr |= round << 3;
/haiku-fatelf/src/apps/icon-o-matic/generic/gui/panel/color_picker/
H A DColorField.cpp23 #define round(x) (int)(x+.5) macro
278 G = round(fMarkerPosition.x / width * 255.0);
279 B = round(255.0 - fMarkerPosition.y / height * 255.0);
283 R = round(fMarkerPosition.x / width * 255.0);
285 B = round(255.0 - fMarkerPosition.y / height * 255.0);
289 R = round(fMarkerPosition.x / width * 255.0);
290 G = round(255.0 - fMarkerPosition.y / height * 255.0);
318 rgb_color color = { round(R), round(G), round(
[all...]
H A DColorPickerView.cpp31 #define round(x) (int)(x+.5) macro
269 rgb_color color = { round(r*255), round(g*255), round(b*255), 255 };
398 color.red = (uint8)round(r * 255.0);
399 color.green = (uint8)round(g * 255.0);
400 color.blue = (uint8)round(b * 255.0);
466 sprintf(string, "%d", round(h*60));
469 sprintf(string, "%d", round(s*100));
472 sprintf(string, "%d", round(
[all...]
H A DColorSlider.cpp23 #define round(x) (int)(x+.5) macro
402 G = round(fFixedValue1 * 255.0);
403 B = round(fFixedValue2 * 255.0);
407 R = round(fFixedValue1 * 255.0);
409 B = round(fFixedValue2 * 255.0);
413 R = round(fFixedValue1 * 255.0);
414 G = round(fFixedValue2 * 255.0);
442 rgb_color color = { round(R), round(G), round(
[all...]
/haiku-fatelf/src/add-ons/accelerants/common/
H A Dvalidate_display_mode.cpp27 round(uint16 value, uint16 resolution) function
77 syncEnd = round(syncStart + syncLength, constraints.resolution);
78 syncStart = round(syncStart, constraints.resolution);
79 display = round(display, constraints.resolution);
80 total = round(total, constraints.resolution);
/haiku-fatelf/src/libs/crypt/
H A Dcrypt-des.c372 int shifts, round; local
417 for (round = 0; round < 16; round++) {
420 shifts += key_shifts[round];
425 de_keysl[15 - round] =
426 en_keysl[round] = comp_maskl[0][(t0 >> 21) & 0x7f]
435 de_keysr[15 - round] =
436 en_keysr[round] = comp_maskr[0][(t0 >> 21) & 0x7f]
456 int round; local
[all...]
/haiku-fatelf/src/add-ons/translators/exr/openexr/ilmimf/
H A DImfLut.h154 half operator () (half x) {return x.round(n);}
H A DImfRgbaYca.cpp243 ycaOut[i].g = ycaIn[i].g.round (roundY);
248 ycaOut[i].r = ycaIn[i].r.round (roundC);
249 ycaOut[i].b = ycaIn[i].b.round (roundC);
/haiku-fatelf/src/system/libroot/posix/glibc/arch/generic/
H A Ds_round.c93 weak_alias (__round, round)
/haiku-fatelf/src/bin/coreutils/lib/
H A Dmath.h342 # undef round
343 # define round rpl_round
344 extern double round (double x);
347 # undef round macro
348 # define round(x) \ macro
349 (GL_LINK_WARNING ("round is unportable - " \
350 "use gnulib module round for portability"), \
351 round (x))
H A Dmath.in.h303 # undef round macro
304 # define round rpl_round macro
305 extern double round (double x);
308 # undef round macro
309 # define round(x) \ macro
310 (GL_LINK_WARNING ("round is unportable - " \
311 "use gnulib module round for portability"), \
312 round (x))
/haiku-fatelf/src/libs/alm/
H A DArea.cpp462 return BRect(round(fLeft->Value()), round(fTop->Value()),
463 round(fRight->Value()), round(fBottom->Value()));
/haiku-fatelf/src/add-ons/translators/exr/openexr/half/
H A Dhalf.h142 half round (unsigned int n) const;
470 // we have to do is round f's significand to 10 bits and combine
486 // Simple case - round the significand, m, to 10
521 half::round (unsigned int n) const function in class:half
/haiku-fatelf/src/bin/gdb/bfd/
H A Decoff.c2071 const bfd_vma round = ecoff_backend (abfd)->round;
2145 sofar = (sofar + round - 1) &~ (round - 1);
2146 file_sofar = (file_sofar + round - 1) &~ (round - 1);
2155 sofar = (sofar + round - 1) &~ (round - 1);
2156 file_sofar = (file_sofar + round - 1) &~ (round
2063 const bfd_vma round = ecoff_backend (abfd)->round; local
2457 const bfd_vma round = backend->round; local
[all...]
H A Dlibecoff.h46 bfd_vma round; member in struct:ecoff_backend_data
/haiku-fatelf/src/add-ons/media/media-add-ons/vst_host/
H A DVSTHost.h90 inline float round(float x) {return ceil(x-0.5);} function
/haiku-fatelf/src/kits/mail/
H A Ddes.c356 register int round; local
378 for( round = 0; round < 8; round++ )
/haiku-fatelf/src/system/libroot/posix/glibc/math/bits/
H A Dmathcalls.h287 __MATHCALL (round,, (_Mdouble_ __x));
/haiku-fatelf/src/documentation/docbook-xsl/slides/browser/
H A DxbDebug.js308 avg = Math.round ( 100 * execprofile.time/execprofile.count) /100;

Completed in 185 milliseconds

12