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

/freebsd-9.3-release/contrib/gcc/config/
H A Dfp-bit.c209 fractype fraction = src->fraction.ll; /* wasn't unsigned before? */
219 fraction = ((fractype) 1 << FRACBITS) - 1;
227 fraction |= QUIET_NAN - 1;
229 fraction |= QUIET_NAN;
236 fraction = 0;
241 fraction = 0;
243 else if (fraction == 0)
256 fraction = 0;
260 shift the fraction t
[all...]
H A Dfp-bit.h372 } fraction; member in struct:__anon1071
391 fractype fraction:FRACBITS __attribute__ ((packed)); member in struct:__anon1073::__anon1074
403 fractype fraction:FRACBITS __attribute__ ((packed)); member in struct:__anon1073::__anon1075
409 fractype fraction:FRACBITS __attribute__ ((packed)); member in struct:__anon1073::__anon1076
/freebsd-9.3-release/games/number/
H A Dnumber.c126 char *p, *fraction; local
129 fraction = NULL;
142 if (fraction != NULL)
144 fraction = p + 1;
159 (fraction != NULL && ((flen = strlen(fraction)) > MAXNUM)))
169 if (fraction != NULL && flen != 0)
170 for (p = fraction; *p != '\0'; ++p)
176 if (unit(flen, fraction)) {
/freebsd-9.3-release/contrib/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.c214 f = EXTRACT_16BITS(&sfp->fraction);
216 f = ff * 1000000.0; /* Treat fraction as parts per million */
231 uf = EXTRACT_32BITS(&lfp->fraction);
236 f = ff * 1000000000.0; /* treat fraction as parts per billion */
269 uf = EXTRACT_32BITS(&lfp->fraction);
270 ouf = EXTRACT_32BITS(&olfp->fraction);
303 f = ff * 1000000000.0; /* treat fraction as parts per billion */
/freebsd-9.3-release/contrib/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[
707 unsigned long fraction[2]; local
[all...]
/freebsd-9.3-release/usr.bin/setchannel/
H A Dsetchannel.c94 unsigned int fraction; local
186 fraction = strtol(ptr, &endptr, 10);
193 fraction /= 10;
195 fraction *= 10;
197 freq += fraction;
/freebsd-9.3-release/lib/libc/mips/gen/
H A Dldexp.S82 sll t2, v1, 32 - 20 # get x fraction
130 subu t9, t9, v0 # shift fraction left >= 32 bits
135 subu v0, v0, t9 # shift fraction left < 32 bits
156 sll t2, v1, 31 - 20 # clear exponent, extract fraction
159 srl t2, t2, 31 - 20 # shift fraction back to normal position
182 mtc1 zero, $f1 # exponent and upper fraction
191 mtc1 ta0, $f1 # exponent and upper fraction
H A Dmodf.S74 j 1f # integer fraction got
/freebsd-9.3-release/contrib/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)
/freebsd-9.3-release/contrib/less/
H A Djump.c116 jump_percent(percent, fraction)
118 long fraction;
136 pos = percent_pos(len, percent, fraction);
H A Dos.c289 percent_pos(pos, percent, fraction)
292 long fraction;
295 POSITION perden = (percent * (NUM_FRAC_DENOM / 100)) + (fraction / 100);
H A Dcommand.c66 static long fraction; /* The fractional part of the number */ variable
564 number = cmd_int(&fraction);
1313 fraction = 0;
1318 fraction = 0;
1321 jump_percent((int) number, fraction);
/freebsd-9.3-release/sys/dev/iicbus/
H A Dmax6690.c325 uint8_t fraction = 0; local
342 err = max6690_read(sc->sc_dev, sc->sc_addr, reg_ext, &fraction);
347 fraction &= MAX6690_TEMP_MASK;
352 temp = (integer * 10) + (fraction >> 5) * 10 / 8;
/freebsd-9.3-release/contrib/groff/font/devps/
H A Dtext.enc115 fraction 133
/freebsd-9.3-release/sys/mips/mips/
H A Dfp.S702 move t2, zero # FSs fraction shifted is zero
705 move ta2, zero # FTs fraction shifted is zero
713 srl t2, t2, v1 # shift FSs fraction
717 srl ta2, ta2, v1 # shift FTs fraction
827 move t2, zero # FSs fraction shifted is zero
831 move ta2, zero # FTs fraction shifted is zero
844 srl t3, t2, v1 # shift FSs fraction
850 srl t3, t3, v1 # shift FSs fraction
860 srl ta3, ta2, v1 # shift FTs fraction
866 srl ta3, ta3, v1 # shift FTs fraction
[all...]
/freebsd-9.3-release/contrib/gcc/
H A Dcfg.c962 /* Assume that the users are producing the fraction from frequencies
988 gcov_type fraction = RDIV (num * 65536, den);
990 gcc_assert (fraction >= 0);
1000 bbs[i]->count = RDIV (bbs[i]->count * fraction, 65536);
1005 e->count = RDIV (e->count * fraction, 65536);
1014 bbs[i]->frequency = RDIV (bbs[i]->frequency * fraction, 65536);
1015 bbs[i]->count = RDIV (bbs[i]->count * fraction, 65536);
1017 e->count = RDIV (e->count * fraction, 65536);
980 gcov_type fraction = RDIV (num * 65536, den); local
/freebsd-9.3-release/sys/geom/bde/
H A Dg_bde_work.c83 static void g_bde_purge_sector(struct g_bde_softc *sc, int fraction);
303 g_bde_purge_sector(struct g_bde_softc *sc, int fraction) argument
309 if (fraction > 0)
310 n = sc->ncache / fraction + 1;
/freebsd-9.3-release/sys/dev/drm/
H A Dr600_blit.c1648 u32 result, i, exponent, fraction; local
1654 fraction = (input & 0x3fff) << 10; /* cheat and only
1657 if (fraction & 0x800000)
1660 fraction = fraction << 1; /* keep
1665 result = exponent << 23 | (fraction & 0x7fffff); /* mask
/freebsd-9.3-release/sys/dev/drm2/radeon/
H A Dr600_blit.c507 uint32_t msb, exponent, fraction; local
520 fraction = ror32(x, (msb - I2F_FRAC_BITS) & 0x1f) & I2F_MASK;
523 return fraction + exponent;
/freebsd-9.3-release/sys/netgraph/
H A Dng_ppp.c2029 int numFrags, fraction, remain; local
2039 fraction = m->m_pkthdr.len / numFrags;
2040 remain = m->m_pkthdr.len - (fraction * numFrags);
2045 = fraction + (((remain--) > 0)?1:0);
/freebsd-9.3-release/contrib/llvm/lib/Support/
H A DAPFloat.cpp306 /* Return the trailing fraction of a hexadecimal number.
307 DIGITVALUE is the first hex digit of the fraction, P points to
316 fraction immediately. */
326 assert(p != end && "Invalid trailing hexadecimal fraction!");
338 /* Return the fraction lost were a bignum truncated losing the least
361 /* Shift DST right BITS bits noting lost fraction. */
897 lost fraction. */
1082 /* Figure out the lost fraction. */
1189 new LSB, with the given lost fraction and rounding mode, the result
1271 /* Shift right and capture any new lost fraction
[all...]

Completed in 149 milliseconds