| /src/external/lgpl3/mpfr/dist/src/ |
| sin.c | 39 mpfr_t c, xr; local 105 mpfr_init2 (xr, m); 128 mpfr_set_prec (xr, m); 131 mpfr_remainder (xr, x, c, MPFR_RNDN); 133 |xr - x - 2kPi| <= 2^(2-m). Thus we can decide the sign 134 of sin(x) if xr is at distance at least 2^(2-m) of both 138 it suffices to check that c - |xr| >= 2^(2-m). */ 139 if (MPFR_IS_POS (xr)) 140 mpfr_sub (c, c, xr, MPFR_RNDZ); 142 mpfr_add (c, c, xr, MPFR_RNDZ) [all...] |
| sinu.c | 40 mpfr_t t, xr; local 73 will give xr = 0. */ 83 /* Let's compute xr = x mod u, with signbit(xr) = signbit(x), which 84 may be important when x is a multiple of u, in which case xr = 0 86 The precision of xr is chosen to ensure that x mod u is exactly 87 representable in xr, e.g., the maximum size of u + the length of 91 mpfr_init2 (xr, sizeof (unsigned long) * CHAR_BIT + (p < 0 ? 0 : p)); 92 MPFR_DBGRES (inex = mpfr_fmod_ui (xr, x, u, MPFR_RNDN)); /* exact */ 94 if (MPFR_IS_ZERO (xr)) [all...] |
| tanu.c | 34 mpfr_t t, xr; local 67 will give xr = 0. */ 77 /* Let's compute xr = x mod u, with signbit(xr) = signbit(x), which 78 may be important when x is a multiple of u, in which case xr = 0 80 The precision of xr is chosen to ensure that x mod u is exactly 81 representable in xr, e.g., the maximum size of u + the length of 86 mpfr_init2 (xr, sizeof (unsigned long) * CHAR_BIT + (p < 0 ? 0 : p)); 87 MPFR_DBGRES (inex = mpfr_fmod_ui (xr, x, u, MPFR_RNDN)); /* exact */ 89 if (MPFR_IS_ZERO (xr)) [all...] |
| cos.c | 137 mpfr_t r, s, xr, c; local 189 mpfr_init2 (xr, m); 196 /* If |x| >= 4, first reduce x cmod (2*Pi) into xr, using mpfr_remainder: 199 (2) xr <- remainder (x, c) [precision m, nearest] 201 |xr - x - k c| <= 1/2ulp(xr) <= 2^(1-m) 203 Thus |xr - x - 2kPi| <= |k| |c - 2Pi| + 2^(1-m) <= 2^(2-m). 204 It follows |cos(xr) - cos(x)| <= 2^(2-m). */ 209 mpfr_remainder (xr, x, c, MPFR_RNDN); 210 if (MPFR_IS_ZERO(xr)) [all...] |
| cosu.c | 34 mpfr_t t, xr; local 65 will give xr = 0. */ 75 /* Let's compute xr = x mod u, with signbit(xr) = signbit(x), though 77 The precision of xr is chosen to ensure that x mod u is exactly 78 representable in xr, e.g., the maximum size of u + the length of 82 mpfr_init2 (xr, sizeof (unsigned long) * CHAR_BIT + (p < 0 ? 0 : p)); 83 MPFR_DBGRES (inex = mpfr_fmod_ui (xr, x, u, MPFR_RNDN)); /* exact */ 85 if (MPFR_IS_ZERO (xr)) 87 mpfr_clear (xr); [all...] |
| sin_cos.c | 33 mpfr_t c, xr; local 135 mpfr_init2 (xr, m); 146 mpfr_set_prec (xr, m); 149 mpfr_remainder (xr, x, c, MPFR_RNDN); 151 if (MPFR_IS_POS (xr)) 152 mpfr_sub (c, c, xr, MPFR_RNDZ); 154 mpfr_add (c, c, xr, MPFR_RNDZ); 155 if (MPFR_IS_ZERO(xr) 156 || MPFR_EXP(xr) < (mpfr_exp_t) 3 - (mpfr_exp_t) m 159 xx = xr; [all...] |
| /src/external/bsd/mdocml/dist/ |
| mandoc_xr.c | 41 struct mandoc_xr *xr; local 46 for (xr = ohash_first(xr_hash, &slot); xr != NULL; 47 xr = ohash_next(xr_hash, &slot)) 48 free(xr); 67 struct mandoc_xr *xr, *oxr; local 80 xr = mandoc_malloc(sizeof(*xr) + tsz); 81 xr->next = NULL; 82 xr->sec = xr->hashkey [all...] |
| main.c | 1045 struct mandoc_xr *xr; local 1048 for (xr = mandoc_xr_get(); xr != NULL; xr = xr->next) { 1049 if (xr->line == -1) 1052 search.sec = xr->sec; 1056 if (mansearch(&search, paths, 1, &xr->name, NULL, &sz)) 1058 if (fs_search(&search, paths, xr->name, NULL, &sz) != -1) 1060 if (xr->count == 1 [all...] |
| /src/external/lgpl3/mpc/dist/src/ |
| mul.c | 35 /* Let x=xr+i*xi and y=yr+i*yi; extract the signs of the operands */ 44 u = xrs * yrs * xr * yr - xis * yis * xi * yi 45 v = xrs * yis * xr * yi + xis * yrs * xi * yr 53 /* x = (+/-inf) xr + i*xi */ 68 /* x = xr + i*(+/-inf) with |xr| != inf */ 82 int xr = (mpfr_zero_p (mpc_realref (x)) || mpfr_nan_p (mpc_realref (x)) ? 0 local 93 u = xrs * xr * yrs * yr - xis * xi * yis * yi; 94 v = xrs * xr * yis * yi + xis * xi * yrs * yr;
|
| /src/external/cddl/osnet/dist/lib/libdtrace/common/ |
| dt_dof.c | 487 ulong_t xr, nxr; local 500 xr = 1; /* reserve dofs[0] for the provider itself */ 511 dofs[xr++] = ddo->ddo_xlexport[i];
|
| /src/bin/ksh/ |
| emacs.c | 1552 char *xr; local 1560 xr = xcp; 1563 xr = xmp; 1565 x_goto(xr); 1567 xmp = xr;
|
| /src/external/bsd/libarchive/dist/libarchive/ |
| archive_read_disk_posix.c | 1579 int r, xr = 0; local 1599 xr = get_xfer_size(t, fd, NULL); 1608 xr = get_xfer_size(t, -1, tree_current_access_path(t)); 1613 xr = get_xfer_size(t, tree_current_dir_fd(t), NULL); 1615 if (r == -1 || xr == -1) { 1618 } else if (xr == 1) { 1659 int r, xr = 0; local 1669 xr = get_xfer_size(t, -1, tree_current_access_path(t)); 1674 xr = get_xfer_size(t, tree_current_dir_fd(t), NULL); 1678 xr = get_xfer_size(t, -1, ".") 1729 int r, vr = 0, xr = 0; local 1845 int r, xr = 0; local [all...] |
| archive_read_support_format_xar.c | 3316 enum XML_Status xr; local 3333 xr = XML_Parse(parser, d, (int)outbytes, xar->toc_remaining == 0); 3335 if (xr == XML_STATUS_ERROR) {
|
| /src/external/gpl3/gcc/dist/gcc/ |
| cselib.cc | 1013 rtx xr = autoinc_split (x, &xoff, memmode); 1014 if ((xr == y || xr == e->val_rtx) && xoff == NULL_RTX) 1012 rtx xr = autoinc_split (x, &xoff, memmode); local
|
| emit-rtl.cc | 238 const_rtx xr = x; 240 for (i = 0; i < CONST_WIDE_INT_NUNITS (xr); i++) 241 hash += CONST_WIDE_INT_ELT (xr, i); 254 const_rtx xr = x; 256 if (CONST_WIDE_INT_NUNITS (xr) != CONST_WIDE_INT_NUNITS (yr)) 259 for (i = 0; i < CONST_WIDE_INT_NUNITS (xr); i++) 260 if (CONST_WIDE_INT_ELT (xr, i) != CONST_WIDE_INT_ELT (yr, i)) 237 const_rtx xr = x; local 253 const_rtx xr = x; local
|
| /src/external/gpl3/gcc.old/dist/gcc/ |
| cselib.cc | 994 rtx xr = autoinc_split (x, &xoff, memmode); 995 if ((xr == y || xr == e->val_rtx) && xoff == NULL_RTX) 993 rtx xr = autoinc_split (x, &xoff, memmode); local
|
| emit-rtl.cc | 234 const_rtx xr = x; 236 for (i = 0; i < CONST_WIDE_INT_NUNITS (xr); i++) 237 hash += CONST_WIDE_INT_ELT (xr, i); 250 const_rtx xr = x; 252 if (CONST_WIDE_INT_NUNITS (xr) != CONST_WIDE_INT_NUNITS (yr)) 255 for (i = 0; i < CONST_WIDE_INT_NUNITS (xr); i++) 256 if (CONST_WIDE_INT_ELT (xr, i) != CONST_WIDE_INT_ELT (yr, i)) 233 const_rtx xr = x; local 249 const_rtx xr = x; local
|
| /src/sys/dev/usb/ |
| xhci.c | 530 xhci_ring_trbv(struct xhci_ring * const xr, u_int idx) 532 return KERNADDR(&xr->xr_dma, XHCI_TRB_SIZE * idx); 536 xhci_ring_trbp(struct xhci_ring * const xr, u_int idx) 538 return DMAADDR(&xr->xr_dma, XHCI_TRB_SIZE * idx); 561 xhci_trb_get_idx(struct xhci_ring *xr, uint64_t trb_0, int *idx) 564 bus_addr_t trbp = xhci_ring_trbp(xr, 0); 569 (trb_0 - trbp) / sizeof(struct xhci_trb) >= xr->xr_ntrb) { 2028 struct xhci_ring * const xr = xs->xs_xr[dci]; local 2035 KASSERT(xr != NULL); 2037 xhci_host_dequeue(xr); 2423 struct xhci_ring *xr; local 3076 struct xhci_ring *xr; local 3685 struct xhci_ring *xr = xs->xs_xr[dci]; local [all...] |
| /src/external/bsd/nvi/dist/motif_l/ |
| xtabbed.c | 2299 float xl, xr, xinc; 2490 xr=(float)item->cols_out; 2497 xr=(float)item->cols_out/2+ 2506 xr=(float)item->cols_out/2+ 2522 i<((xr>=item->cols_out)?item->cols_out:(int)xr); i++) { 2537 xr+=xinc; 2292 float xl, xr, xinc; local
|
| /src/external/gpl3/binutils/dist/gas/config/ |
| tc-alpha.c | 2619 int xr, yr, rr; 2623 xr = regno (tok[0].X_add_number); 2627 rr = xr; 2632 if (yr == AXP_REG_R16 && xr == AXP_REG_R17) 2659 if (xr != AXP_REG_R16) 2661 set_tok_reg (newtok[0], xr); 2715 int xr, yr, rr; 2719 xr = regno (tok[0].X_add_number); 2723 rr = xr; 2730 if (yr == AXP_REG_T10 && xr == AXP_REG_T11 2612 int xr, yr, rr; local 2708 int xr, yr, rr; local [all...] |
| /src/external/gpl3/binutils.old/dist/gas/config/ |
| tc-alpha.c | 2619 int xr, yr, rr; 2623 xr = regno (tok[0].X_add_number); 2627 rr = xr; 2632 if (yr == AXP_REG_R16 && xr == AXP_REG_R17) 2659 if (xr != AXP_REG_R16) 2661 set_tok_reg (newtok[0], xr); 2715 int xr, yr, rr; 2719 xr = regno (tok[0].X_add_number); 2723 rr = xr; 2730 if (yr == AXP_REG_T10 && xr == AXP_REG_T11 2612 int xr, yr, rr; local 2708 int xr, yr, rr; local [all...] |
| /src/lib/libc/time/ |
| zic.c | 2064 char hhx, mmx, ssx, xr = '0', xs; local 2076 &hh, &hhx, &mm, &mmx, &ss, &ssx, &tenths, &xr, &xs)) { 2079 ok = is_digit(xr); 2105 ss += 5 + ((ss ^ 1) & (xr == '0')) <= tenths; /* Round to even. */ 3755 struct rule xr; local 3757 memset(&xr, 0, sizeof(xr)); 3758 xr.r_month = TM_JANUARY; 3759 xr.r_dycode = DC_DOM; 3760 xr.r_dayofmonth = 1 [all...] |