Searched refs:fraction (Results 1 - 14 of 14) sorted by relevance

/haiku-fatelf/src/preferences/time/
H A Dntp.cpp33 uint16 fraction; member in struct:fixed32
36 SetTo(int16 integer, uint16 fraction = 0)
39 this->fraction = htons(fraction);
43 uint16 Fraction() { return htons(fraction); }
48 uint32 fraction; member in struct:ufixed64
51 SetTo(uint32 integer, uint32 fraction = 0)
54 this->fraction = htonl(fraction);
58 uint32 Fraction() { return htonl(fraction); }
[all...]
/haiku-fatelf/src/bin/network/tcpdump/
H A Dntp.h32 u_int32_t fraction; member in struct:l_fixedpt
37 u_int16_t fraction; member in struct:s_fixedpt
H A Dprint-ntp.c193 f = EXTRACT_16BITS(&sfp->fraction);
195 f = ff * 1000000.0; /* Treat fraction as parts per million */
210 uf = EXTRACT_32BITS(&lfp->fraction);
215 f = ff * 1000000000.0; /* treat fraction as parts per billion */
248 uf = EXTRACT_32BITS(&lfp->fraction);
249 ouf = EXTRACT_32BITS(&olfp->fraction);
282 f = ff * 1000000000.0; /* treat fraction as parts per billion */
/haiku-fatelf/src/bin/gdb/gdb/
H A Di387-tdep.c74 unsigned long fraction[2]; local
79 fraction[0] = ((raw[3] << 24) | (raw[2] << 16) | (raw[1] << 8) | raw[0]);
80 fraction[1] = (((raw[7] & 0x7f) << 24) | (raw[6] << 16)
85 if (fraction[0] == 0x00000000 && fraction[1] == 0x00000000)
88 else if (sign && fraction[0] == 0x00000000 && fraction[1] == 0x40000000)
91 else if (fraction[1] & 0x40000000)
109 else if (fraction[0] || fraction[
732 unsigned long fraction[2]; local
[all...]
/haiku-fatelf/src/bin/gdb/gdb/gdbserver/
H A Di387-fp.c201 unsigned long fraction[2]; local
206 fraction[0] = ((raw[3] << 24) | (raw[2] << 16) | (raw[1] << 8) | raw[0]);
207 fraction[1] = (((raw[7] & 0x7f) << 24) | (raw[6] << 16)
217 if (fraction[0] == 0x0000 && fraction[1] == 0x0000 && !integer)
/haiku-fatelf/src/bin/less/
H A Djump.c112 jump_percent(percent, fraction)
114 long fraction;
132 pos = percent_pos(len, percent, fraction);
H A Dos.c273 percent_pos(pos, percent, fraction)
276 long fraction;
279 long perden = (percent * (NUM_FRAC_DENOM / 100)) + (fraction / 100);
H A Dcommand.c67 static long fraction; /* The fractional part of the number */ variable
306 number = cmd_int(&fraction);
1205 fraction = 0;
1210 fraction = 0;
1213 jump_percent((int) number, fraction);
/haiku-fatelf/src/system/kernel/lib/
H A Dkernel_vsprintf.cpp213 It prints up to 3 fraction digits, and doesn't support any precision arguments.
220 uint64 fraction; local
229 fraction = (uint64)(value * 1000) % 1000;
232 // put fraction part, if any
234 if (fraction != 0) {
236 while (fraction != 0) {
237 int digit = do_div(&fraction, 10);
/haiku-fatelf/src/libs/ncurses/test/
H A Dtclock.c136 double fraction = 0.0; local
204 fraction = (current.tv_usec / 1.0e6);
206 sangle = ((t->tm_sec + fraction) * (2.0 * PI) / 60.0);
/haiku-fatelf/src/tools/docbook/libxml2/
H A Dtrionan.c405 double integral, fraction;
419 (fraction = modf(number, &integral),
420 integral == fraction)));
H A Dtriostr.c968 trio_long_double_t fraction = 0.0;
993 fraction += fracdiv * (isdigit((int)*source)
1039 fraction += (*source - '0') * fracdiv;
1064 value = integer + fraction;
H A Dxpath.c9684 double fraction = 0; local
9692 fraction = fraction * 10 + v;
9696 fraction /= my_pow10[frac];
9697 ret = ret + fraction;
/haiku-fatelf/src/bin/bash/lib/sh/
H A Dsnprintf.c195 real = integral + fraction
198 fraction = b(1)*10^-1 + b(2)*10^-2 + ...
209 * and the fraction part
516 * This function return the fraction part of a double
541 /* a fraction ? */
565 * and set fract to be an ascii representation of the fraction part
566 * the container for the fraction and the integral part or staticly
576 double ip, fp; /* integer and fraction part */
577 double fraction; local
606 fraction
[all...]

Completed in 201 milliseconds