Searched defs:pi (Results 1 - 25 of 110) sorted by relevance

12345

/illumos-gate/usr/src/lib/libm/common/complex/
H A Dcarg.c35 pi = 3.14159265358979311600e+00, variable
49 return ((iy == 0)? pi + pi_lo : -pi - pi_lo);
H A Dcacos.c68 * cacos(-z) = pi - cacos(z)
69 * cacos( z) = pi/2 - casin(z)
72 * cacos(+-0 + i y ) = pi/2 - i y for y is +-0, +-inf, NaN
73 * cacos( x + i inf) = pi/2 - i inf for all x
75 * cacos(-inf + i y ) = pi - i inf for finite +y
77 * cacos(-inf + i inf) = 3pi/4- i inf
78 * cacos( inf + i inf) = pi/4 - i inf
167 * real part = acos(B) ~ pi/2
184 * real part = acos(B) ~ pi/2
204 pi variable
[all...]
H A Dcacosl.c47 pi = 3.141592653589793238295968524909085317631252110004425048828125L, variable
57 pi = 3.1415926535897932384626433832795027974790680981372955730045043318L,
98 if (isinfl(y)) { /* cacos(x + i inf) = pi/2 - i inf */
128 /* cacos(inf + i inf) = pi/4 - i inf */
129 /* cacos(-inf+ i inf) =3pi/4 - i inf */
143 /* cacos(-inf+ iy ) = pi - i inf */
148 LD_RE(ans) = pi + pi_l;
199 LD_RE(ans) = pi + pi_l;
202 LD_RE(ans) = pi + t;
209 LD_RE(ans) = (hx >= 0)? y / t : pi
[all...]
/illumos-gate/usr/src/lib/libm/common/C/
H A Dsincospi.c33 * *s = sin(pi*x); *c = cos(pi*x);
38 * 1. If y == z, then x is a multiple of pi/4. Return the following values:
40 * n x mod 2 sin(x*pi) cos(x*pi) tan(x*pi)
53 * n t sin(x*pi) cos(x*pi) tan(x*pi)
65 * NOTE. This program compute sinpi/cospi(t<0.25) by __k_sin/cos(pi*
81 pi = 3.14159265358979323846, /* 400921FB,54442D18 */ variable
[all...]
H A Dacos.c36 * acos(x) = pi/2 - asin(x)
37 * acos(-x) = pi/2 + asin(x)
39 * acos(x) = pi/2 - (x + x*x^2*R(x^2)) (see asin.c)
41 * acos(x) = pi/2 - (pi/2 - 2asin(sqrt((1-x)/2)))
48 * acos(x) = pi - 2asin(sqrt((1-|x|)/2))
49 * = pi - 0.5*(s+s*z*R(z)), where z=(1-|x|)/2,s=sqrt(z)
66 /* pi */ 3.14159265358979311600e+00, /* 400921FB, 54442D18 */
81 #define pi xxx[1] macro
108 else /* acos(-1) = pi */
[all...]
/illumos-gate/usr/src/lib/libproc/common/
H A DPexecname.c133 const psinfo_t *pi = Ppsinfo(P); local
143 pi->pr_zoneid != GLOBAL_ZONEID &&
144 zone_getattr(pi->pr_zoneid, ZONE_ATTR_ROOT, zpath,
/illumos-gate/usr/src/cmd/getdevpolicy/
H A Dgetdevpolicy.c44 static const priv_impl_info_t *pi; variable
68 ss = priv_set_to_str(DEVPLCYSYS_RDP(ds, pi), ',', PRIV_STR_SHORT);
71 ss = priv_set_to_str(DEVPLCYSYS_WRP(ds, pi), ',', PRIV_STR_SHORT);
148 if ((pi = getprivimplinfo()) == NULL)
151 sz = DEVPLCYSYS_SZ(pi);
/illumos-gate/usr/src/uts/common/io/cxgbe/cxgbe/
H A Dcxgbe.c121 struct port_info_stub *pi; local
129 pi = ddi_get_parent_data(dip);
130 if (pi == NULL)
136 ddi_driver_name(pi->dip), ddi_get_instance(pi->dip),
142 mac->m_driver = pi;
144 mac->m_src_addr = pi->hw_addr;
145 mac->m_callbacks = pi->mc;
146 mac->m_max_sdu = pi->mtu;
147 mac->m_priv_props = pi
176 struct port_info_stub *pi; local
[all...]
/illumos-gate/usr/src/uts/sun4u/os/
H A Dmach_mp_startup.c43 processor_info_t *pi = &cp->cpu_type_info; local
52 pi->pi_clock = (cpunode->clock_freq + 500000) / 1000000;
64 (void) strcpy(pi->pi_processor_type, "sparcv9");
65 (void) strcpy(pi->pi_fputypes, "sparcv9");
182 processor_info_t *pi; local
185 pi = &cp->cpu_type_info;
189 cpunode->version, pi->pi_clock);
/illumos-gate/usr/src/boot/sys/boot/common/
H A Dpnp.c35 struct pnpinfo *pi; local
72 STAILQ_FOREACH(pi, &pnp_devices, pi_link) {
73 pager_output(STAILQ_FIRST(&pi->pi_ident)->id_ident); /* first ident should be canonical */
74 if (pi->pi_desc != NULL) {
76 pager_output(pi->pi_desc);
91 struct pnpinfo *pi; local
94 pi = STAILQ_FIRST(&pnp_devices);
96 pnp_freeinfo(pi);
101 * Add a unique identifier to (pi)
104 pnp_addident(struct pnpinfo *pi, cha argument
123 struct pnpinfo *pi; local
135 pnp_freeinfo(struct pnpinfo *pi) argument
158 pnp_addinfo(struct pnpinfo *pi) argument
[all...]
H A Disapnp.c160 isapnp_scan_resdata(struct pnpinfo *pi) argument
177 pnp_addident(pi, pnp_eisaformat(resinfo));
206 if (pi->pi_desc == NULL) {
207 pi->pi_desc = (char *)str;
231 struct pnpinfo *pi; local
249 pi = pnp_allocinfo();
251 pnp_addident(pi, pnp_eisaformat(cardid));
253 if (isapnp_scan_resdata(pi)) {
254 pnp_freeinfo(pi); /* error getting data, ignore */
256 pnp_addinfo(pi);
[all...]
/illumos-gate/usr/src/lib/libm/common/LD/
H A Dsincospil.c32 * *s = sinl(pi*x); *c = cosl(pi*x);
37 * 1. If y == z, then x is a multiple of pi/4. Return the following values:
39 * n x mod 2 sin(x*pi) cos(x*pi) tan(x*pi)
52 * n t sin(x*pi) cos(x*pi) tan(x*pi)
64 * NOTE. This program compute sinpi/cospi(t<0.25) by __k_sin/cos(pi*
98 pi = 3.141592653589793238462643383279502884197e+0000L, variable
[all...]
H A Dsinpil.c31 * return long double precision sinl(pi*x).
36 * 1. If y == z, then x is a multiple of pi/4. Return the following values:
38 * n x mod 2 sin(x*pi) cos(x*pi) tan(x*pi)
51 * n t sin(x*pi) cos(x*pi) tan(x*pi)
63 * NOTE. This program compute sinpi/cospi(t<0.25) by __k_sin/cos(pi*t, 0.0).
65 * than 2 ulp). If one wants accurate result, one may break up pi*
97 pi = 3.141592653589793238462643383279502884197e+0000L, variable
[all...]
H A D__lgammal.c68 pi = 3.1415926535897932384626433832795028841971L, variable
372 * -z*G(-z)*G(z) = pi/sin(pi*z),
374 * G(-z) = -pi/(sin(pi*z)*G(z)*z)
375 * = pi/(sin(pi*(-z))*G(z)*z)
386 * return log(pi/(t*z))-lgamma(z);
390 t = sinpil(z); /* t := sin(pi*z) */
398 p = logl(pi/(fabs
[all...]
/illumos-gate/usr/src/lib/libm/common/Q/
H A Dsincospil.c32 * *s = sinl(pi*x); *c = cosl(pi*x);
37 * 1. If y == z, then x is a multiple of pi/4. Return the following values:
39 * n x mod 2 sin(x*pi) cos(x*pi) tan(x*pi)
52 * n t sin(x*pi) cos(x*pi) tan(x*pi)
64 * NOTE. This program compute sinpi/cospi(t<0.25) by __k_sin/cos(pi*
96 pi = 3.141592653589793238462643383279502884197e+0000L, variable
[all...]
H A Dsinpil.c32 * return long double precision sinl(pi*x).
37 * 1. If y == z, then x is a multiple of pi/4. Return the following values:
39 * n x mod 2 sin(x*pi) cos(x*pi) tan(x*pi)
52 * n t sin(x*pi) cos(x*pi) tan(x*pi)
64 * NOTE. This program compute sinpi/cospi(t<0.25) by __k_sin/cos(pi*t, 0.0).
66 * than 2 ulp). If one wants accurate result, one may break up pi*
96 pi = 3.141592653589793238462643383279502884197e+0000L, variable
[all...]
H A D__lgammal.c68 pi = 3.1415926535897932384626433832795028841971L, variable
368 * -z*G(-z)*G(z) = pi/sin(pi*z),
370 * G(-z) = -pi/(sin(pi*z)*G(z)*z)
371 * = pi/(sin(pi*(-z))*G(z)*z)
382 * return log(pi/(t*z))-lgamma(z);
386 t = sinpil(z); /* t := sin(pi*z) */
394 p = logl(pi/(fabs
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/in.ndpd/
H A Dtrace.c35 print_route_sol(char *str, struct phyint *pi, argument
44 len, pi->pi_name);
52 print_route_adv(char *str, struct phyint *pi, argument
61 len, pi->pi_name);
/illumos-gate/usr/src/uts/common/io/cxgbe/t4nex/
H A Dadapter.c102 is_10G_port(const struct port_info *pi) argument
104 return ((pi->link_cfg.supported & FW_PORT_CAP_SPEED_10G) != 0);
/illumos-gate/usr/src/uts/sun4v/os/
H A Dmach_mp_startup.c48 processor_info_t *pi = &cp->cpu_type_info; local
57 pi->pi_clock = (cpunode->clock_freq + 500000) / 1000000;
69 (void) strcpy(pi->pi_processor_type, "sparcv9");
70 (void) strcpy(pi->pi_fputypes, "sparcv9");
277 processor_info_t *pi; local
280 pi = &cp->cpu_type_info;
284 cpunode->name, cpunode->cpuid, pi->pi_clock);
288 cpunode->name, cp->cpu_m.cpu_chip, pi->pi_clock);
/illumos-gate/usr/src/lib/fm/topo/modules/common/pcibus/
H A Dpcibus_hba.c62 di_node_t cn, int instance, di_path_t pi)
79 if (pi != NULL) {
80 pci_pi_prop_set(child, pi, SCSI_ADDR_PROP_TARGET_PORT,
82 pci_pi_prop_set(child, pi, SCSI_ADDR_PROP_ATTACHED_PORT,
84 pci_pi_prop_set(child, pi, SCSI_ADDR_PROP_TARGET_PORT_PM,
86 pci_pi_prop_set(child, pi, SCSI_ADDR_PROP_ATTACHED_PORT_PM,
88 if (di_path_prop_lookup_int64s(pi,
185 di_path_t pi; local
211 for (pi = di_path_phci_next_path(cn, DI_PATH_NIL);
212 pi !
61 pci_scsi_device_create(topo_mod_t *mod, nvlist_t *auth, tnode_t *parent, di_node_t cn, int instance, di_path_t pi) argument
[all...]
/illumos-gate/usr/src/lib/fm/topo/modules/sun4v/sun4vpi/
H A Dsun4vpi.c124 pi_enum_t pi; local
142 bzero(&pi, sizeof (pi_enum_t));
143 result = pi_ldompri_open(mod, &pi);
150 pi.mod = mod;
156 num_components = pi_find_mdenodes(mod, pi.mdp, MDE_INVAL_ELEM_COOKIE,
179 component_cookie = md_find_name(pi.mdp, MD_STR_COMPONENT);
180 arc_cookie = md_find_name(pi.mdp, MD_STR_FWD);
189 skip = pi_skip_node(mod, pi.mdp, components[idx]);
195 result = pi_enum_components(&pi, t_parent, name,
202 pi_ldompri_close(mod, &pi);
[all...]
/illumos-gate/usr/src/cmd/sgs/error/common/
H A Derrorpi.c41 * Attempt to handle error messages produced by pi (and by pc)
46 * problem #2: pi doesn't always tell you what line number
62 * Here are the error strings used in pi version 1.2 that can refer
70 * Here are the general pi patterns recognized:
85 * pi is now complaining about 2nd pass errors.
195 pi(void) function
214 * when there are strlen("(*[pi]") or more
218 * the pi error messages can be inserted above the
221 * instead of after it as does pi.)
277 * during the second pass of pi, an
[all...]
/illumos-gate/usr/src/cmd/fs.d/nfs/nfs4cbd/
H A Dnfs4cbd.c100 pid_t pi; local
123 if ((pi = fork()) > 0) {
127 if (pi == -1) {
/illumos-gate/usr/src/lib/libc/amd64/unwind/
H A Deh_frame.c318 unsigned char *pi, *pj; local
347 pi = data;
349 ctx->fde = locate_fde_for_pc(pc, ft_enc, pi, pj, reloc, base);
358 unsigned char *pi = table_bg; local
366 * it must lie in the interval [pi,pj). That is,
367 * pi <= p < pj, if p exists.
369 while (pi < pj) {
371 pi + (((pj - pi) >> (log_size + 1)) << log_size);
372 /* Don't use (pi
[all...]

Completed in 111 milliseconds

12345