Home
last modified time | relevance | path

Searched refs:pi (Results 1 – 25 of 80) sorted by relevance

1234

/original-bsd/old/libm/libm/VAX/
H A Dargred.s127 # trailing: n * pi/2 , n = 0, 1, 2, ..., 29
130 # middle: n * pi/2 , n = 0, 1, 2, ..., 29
133 # leading: n * pi/2 , n = 0, 1, 2, ..., 29
137 # leading[n] := (n * pi/2) rounded,
138 # middle[n] := (n * pi/2 - leading[n]) rounded,
174 .double 0d+0.00000000000000000000e+00 # 0 * pi/2 middle
244 cvtrdl r0,r0 # n = nearest int to ((2/pi)*|x|) rnded
249 subd2 middle(r5),r3 # r = r - middle n*pi/2
260 # subb3 r0,$8,r0 ...used for pi/4 reduction -S.McD
266 # bicb2 $0xf8,r0 ...used for pi/4 reduction -S.McD
[all …]
/original-bsd/sys/hp300/dev/
H A Dsd_compat.c57 register struct partition *pi, *dpi; local
67 pi = lp->d_partitions;
71 *pi++ = *dpi++;
73 pi = lp->d_partitions;
78 pi[2].p_size = sc->sc_blks;
82 pi[6].p_size = sc->sc_blks - pi[6].p_offset;
86 pi[7].p_size = sc->sc_blks - pi[7].p_offset;
90 if (sc->sc_blks > pi[5].p_offset)
91 pi[5].p_size = sc->sc_blks - pi[5].p_offset;
93 pi[4].p_offset = pi[4].p_size = 0;
[all …]
H A Drd_compat.c238 register struct partition *pi; local
250 pi = lp->d_partitions;
252 pi->p_size = ci->sizes[dcount].nblocks;
253 pi->p_offset = ci->sizes[dcount].cyloff * lp->d_secpercyl;
254 pi->p_fsize = 1024;
256 pi->p_fstype = FS_SWAP;
258 pi->p_fstype = FS_BOOT;
260 pi->p_fstype = FS_BSDFFS;
261 pi->p_frag = 8;
262 pi++;
/original-bsd/usr.bin/pascal/how/
H A Dhow_pi2 To translate a program using pi, place the source in a file whose name ends
4 pi prog.p
11 The complete command line syntax for pi is
12 pi [ -blnpstuw ] [ -i file ... ] name.p
13 The command "man pi" will give information as to the options of pi.
H A Dhow_pix7 To create a permanent "obj" file which you can interpret, use "pi".
8 Type "pi" for basic information on pi.
14 pi [ -blnpstuw ] [ -i file ... ] name.p
19 The command "man pi" will give information as to the options of pix.
H A Dhow_pxp4 after a translation specifying this option to pi and an execution, i.e.:
5 pi -z name.p
/original-bsd/local/ditroff/ditroff.okeeffe/
H A Dt10.c242 ptout0(pi) in ptout0() argument
243 tchar *pi; in ptout0()
251 i = *pi;
275 outascii(pi[j]);
345 dx = absmot(pi[3]);
346 if (isnmot(pi[3]))
348 dy = absmot(pi[4]);
349 if (isnmot(pi[4]))
363 k = cbits(pi[2]);
375 if (isnmot(pi[5]))
[all …]
/original-bsd/local/ditroff/ditroff.okeeffe/troff/
H A Dt10.c251 ptout0(pi) in ptout0() argument
252 tchar *pi; in ptout0()
260 i = *pi;
284 outascii(pi[j]);
354 dx = absmot(pi[2]);
355 if (isnmot(pi[2]))
357 dy = absmot(pi[3]);
358 if (isnmot(pi[3]))
380 if (isnmot(pi[4]))
383 if (isnmot(pi[5]))
[all …]
/original-bsd/local/ditroff/ditroff.old.okeeffe/troff/
H A Dt10.c242 ptout0(pi) in ptout0() argument
243 tchar *pi; in ptout0()
251 i = *pi;
323 dx = absmot(pi[2]);
324 if (isnmot(pi[2]))
326 dy = absmot(pi[3]);
327 if (isnmot(pi[3]))
350 dx2 = absmot(pi[4]);
351 if (isnmot(pi[4]))
354 if (isnmot(pi[5]))
[all …]
/original-bsd/sys/isofs/cd9660/
H A Dcd9660_node.c357 cd9660_tstamp_conv7(pi,pu) in cd9660_tstamp_conv7() argument
358 u_char *pi; in cd9660_tstamp_conv7()
365 y = pi[0] + 1900;
366 m = pi[1];
367 d = pi[2];
368 hour = pi[3];
369 minute = pi[4];
370 second = pi[5];
371 tz = pi[6];
416 u_char *pi; in cd9660_tstamp_conv17()
[all …]
/original-bsd/local/ditroff/ditroff.okeeffe/psfig/patches/
H A Dditroff.frag1 ptout0(pi)
2 tchar *pi;
10 i = *pi;
35 for (j = 1; (c=cbits(pi[j])) != XOFF; j++)
36 outascii(pi[j]);
/original-bsd/sys/hp300/stand/
H A Dsd.c96 register struct sdminilabel *pi = &ss->sc_pinfo; local
109 *pi = defaultpinfo;
112 pi->npart = 3;
113 pi->offset[0] = pi->offset[1] = -1;
114 pi->offset[2] = 0;
117 pi->npart = lp->d_npartitions;
118 for (i = 0; i < pi->npart; i++)
119 pi->offset[i] = lp->d_partitions[i].p_size == 0 ?
H A Drd.c218 register struct rdminilabel *pi = &rs->sc_pinfo; local
235 pi->npart = 8;
236 for (i = 0; i < pi->npart; i++)
237 pi->offset[i] = ci->cyloff[i] * ci->nbpc;
241 pi->npart = 3;
242 pi->offset[0] = pi->offset[1] = -1;
243 pi->offset[2] = 0;
246 pi->npart = lp->d_npartitions;
247 for (i = 0; i < pi->npart; i++)
248 pi->offset[i] = lp->d_partitions[i].p_size == 0 ?
/original-bsd/old/libm/liboldnm/
H A Datan.s9 # double atan(arg1); -pi/2 < atan < pi/2
10 #double atan2(arg1,arg2); -pi< atan2<pi
52 subd2 pi,r0
56 subd3 r0,pi,r0
114 pi: .double 0d3.14159265358979323846e+0 label
/original-bsd/lib/libm/vax/
H A Dtan.s17 # under 1,024,000 random arguments testing on [0,2*pi]
22 # method: true range reduction to [-pi/4,pi/4], P. Tang & B. Corbett
H A Dsincos.s17 # under 1,024,000 random arguments testing on [0,2*pi]
23 # method: true range reduction to [-pi/4,pi/4], P. Tang & B. Corbett
H A Dargred.s19 # method: true range reduction to [-pi/4,pi/4], P. Tang & B. Corbett
346 # used to obtain the needed portion of 2/pi .
355 # obtain the correct portion of 2/pi .
360 # Move the needed 128 bits of 2/pi into
384 # slice of 2/pi in r11 - r8 .
590 # fraction by pi/2 .
605 # Move pi/2 into r3/r2 .
609 # Multiply the fraction by the portion of pi/2
615 # Multiply the fraction by the portion of pi/2
752 # subb3 r0,$8,r0 ...used for pi/4 reduction -S.McD
[all …]
/original-bsd/old/libm/libom/
H A Dgamma.c24 static double pi = 3.1415926535897932384626434; variable
92 temp = sin(pi*arg);
99 return(-log(arg*pos(arg)*temp/pi));
/original-bsd/lib/libm/
H A DREADME185 1 ULP compared with sin(x*pi/PI), cos(x*pi/PI), and
187 value of pi rounded. [tan(x)] returns tan(x*pi/PI) within
189 return acos(x)*PI/pi, asin(x)*PI/pi, and atan2(y,x)*PI/pi
193 2) Those using true pi (for VAX D-format only):
208 (compared with tan, sin, cos of (x*pi/PI))
214 (compared with (PI/pi)*(atan, asin, acos, atan2 of x))
216 tan : 2.15 ULPs ...1,024,000 random arguments (true pi)
217 sin : .814 ULPs ...1,024,000 random arguments (true pi)
218 cos : .792 ULPs ...1,024,000 random arguments (true pi)
219 acos : 2.15 ULPs ...1,024,000 random arguments (true pi)
[all …]
/original-bsd/old/libm/libm/
H A DREADME196 1 ULP compared with sin(x*pi/PI), cos(x*pi/PI), and
198 value of pi rounded. [tan(x)] returns tan(x*pi/PI) within
200 return acos(x)*PI/pi, asin(x)*PI/pi, and atan2(y,x)*PI/pi
204 2) Those using true pi (for VAX D-format only):
219 (compared with tan, sin, cos of (x*pi/PI))
225 (compared with (PI/pi)*(atan, asin, acos, atan2 of x))
227 tan : 2.15 ULPs ...1,024,000 random arguments (true pi)
228 sin : .814 ULPs ...1,024,000 random arguments (true pi)
229 cos : .792 ULPs ...1,024,000 random arguments (true pi)
230 acos : 2.15 ULPs ...1,024,000 random arguments (true pi)
[all …]
H A Dlgamma.c26 static double pi = 3.1415926535897932384626434; variable
122 return(-log(arg*pos(arg)*sin(pi*t)/pi));
/original-bsd/usr.bin/pascal/USD.doc/
H A Dbigger.p3 * f(x) = exp(-x) * sin(2 * pi * x)
10 c = 6.28138; (* 2 * pi *)
H A Dbigger7.p3 * f(x) = exp(-x) * sin(2 * pi * x)
10 c = 6.28138; (* 2 * pi *)
H A Dbigger5.p3 * f(x) = exp(-x) * sin(2 * pi * x)
10 c = 6.28138; (* 2 * pi *)
H A Dbigger4.p3 * f(x) = exp(-x) * sin(2 * pi * x)
10 c = 6.28138; (* 2 * pi *)

1234