Trailing-Edge
-
PDP-10 Archives
-
SRI_NIC_PERM_FS_1_19910112
-
c/lib5/math/modf.xs
There are no other files named modf.xs in the archive.
<C.LIB.MATH>CEIL.C.7
( 1.12) {modf}
extern double modf();
( 1.15) {modf}
if (modf(x, &i) > 0) /* if there's a fractional part of x, */
<C.LIB.MATH>EXP.C.10
( 3.12) {modf}
v = 16.0 * modf((x * LOG2E), &y);
( 3.13) {modf}
w = _sign(modf(fabs(v), &i), v) / 16.0;
<C.LIB.MATH>FLOOR.C.7
( 1.12) {modf}
extern double modf();
( 1.15) {modf}
if (modf(x, &i) < 0) /* if negative and has fractional part */
<C.LIB.MATH>FMOD.C.3
( 1.12) {modf}
extern double modf();
( 1.15) {modf}
modf((x / y), &i); /* integer part in i, forget remainder */
<C.LIB.MATH>MODF.C.85
( 1.4) {modf}
* This code conforms with the description of the modf function
( 1.23) {modf}
modf(x, nptr)
( 1.82) {modf}
JRST modf5 ; Positive shift, left.
( 1.109) {modf}
#error modf() not implemented for this CPU.
<C.LIB.MATH>POW.C.5
( 2.24) {modf}
if (modf(y, &i) == 0.0) {
<C.LIB.PML>DEXP.C.2
( 3.5) {modf}
double w, v, a, b, t, wpof2, zpof2, fabs(), dscale(), modf();
( 3.16) {modf}
v = 16.0 * modf(t, &y);
( 3.17) {modf}
modf(fabs(v), &index);
( 3.23) {modf}
w = modf(v) / 16.0;
<C.LIB.STDIO>PRINTF.C.25
( 2.15) {modf}
extern double modf(), floor();
( 13.40) {modf}
* Cannot use a single modf call because the integer part may
( 13.43) {modf}
* up calling modf on each digit.
( 13.59) {modf}
{ d = modf(d * 10.0, &i);
( 13.78) {modf}
d = modf(d, &junk); /* Get fractional part */
( 13.83) {modf}
{ d = modf(d*10.0, &junk);
Lines recognized = 23
String Matches Unrecognized Matches
1) "modf" 23 0
Exact match search performed.
Files with no matches: <C.LIB>ABORT.C.9 <C.LIB>ATOI.C.10
<C.LIB>BSEARC.C.9 <C.LIB>CLOCK.C.1 <C.LIB>CPU.C.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READ.C.1
<C.LIB.USYS>OLD-FORK.C.36 <C.LIB.USYS>OPEN.C.223 <C.LIB.USYS>PAUSE.C.3
<C.LIB.USYS>PIPE.C.24 <C.LIB.USYS>READ.C.100 <C.LIB.USYS>RENAME.C.17
<C.LIB.USYS>SBRK.C.29 <C.LIB.USYS>SGTTY.C.4 <C.LIB.USYS>SIGDAT.C.19
<C.LIB.USYS>SIGNAL.C.2 <C.LIB.USYS>SIGVEC.C.161 <C.LIB.USYS>SLEEP.C.15
<C.LIB.USYS>STAT.C.138 <C.LIB.USYS>TIME.C.75 <C.LIB.USYS>TIMES.C.2
<C.LIB.USYS>UIODAT.C.17 <C.LIB.USYS>UNLINK.C.27 <C.LIB.USYS>URT.C.118
<C.LIB.USYS>URTSUD.C.6 <C.LIB.USYS>UTIME.C.6 <C.LIB.USYS>WAIT.C.32
<C.LIB.USYS>WRITE.C.63 <C.LIB.USYS.NEW>CLOSE.C.1 <C.LIB.USYS.NEW>LSEEK.C.1
<C.LIB.USYS.NEW>OPEN.C.1 <C.LIB.USYS.NEW>READ.C.1
237 files searched, 229 without matches.