Home
last modified time | relevance | path

Searched +full:0 +full:- +full:1023 (Results 1 – 25 of 375) sorted by relevance

12345678910>>...15

/freebsd/lib/msun/src/
H A Ds_scalbn.c2 * Copyright (c) 2005-2020 Rich Felker, et al.
4 * SPDX-License-Identifier: MIT
6 * Please see https://git.musl-libc.org/cgit/musl/tree/COPYRIGHT
18 if (n > 1023) { in scalbn()
19 y *= 0x1p1023; in scalbn()
20 n -= 1023; in scalbn()
21 if (n > 1023) { in scalbn()
22 y *= 0x1p1023; in scalbn()
23 n -= 1023; in scalbn()
24 if (n > 1023) in scalbn()
[all …]
H A Ds_cbrt.c22 B1 = 715094163, /* B1 = (1023-1023/3-0.03306235651)*2**20 */
23 B2 = 696219795; /* B2 = (1023-1023/3-54/3-0.03306235651)*2**20 */
25 /* |1/cbrt(x) - p(x)| < 2**-23.5 (~[-7.93e-8, 7.929e-8]). */
27 P0 = 1.87595182427177009643, /* 0x3ffe03e6, 0x0f61e692 */
28 P1 = -1.88497979543377169875, /* 0xbffe28e0, 0x92f02420 */
29 P2 = 1.621429720105354466140, /* 0x3ff9f160, 0x4a49d6c2 */
30 P3 = -0.758397934778766047437, /* 0xbfe844cb, 0xbee751d9 */
31 P4 = 0.145996192886612446982; /* 0x3fc2b000, 0xd4e4edd7 */
46 sign=hx&0x80000000; /* sign= sign(x) */ in cbrt()
48 if(hx>=0x7ff00000) return(x+x); /* cbrt(NaN,INF) is itself */ in cbrt()
[all …]
H A Dk_exp.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
42 * Output: 2**1023 <= y < 2**1024
51 * We use exp(x) = exp(x - kln2) * 2**k, carefully chosen to in __frexp_exp()
52 * minimize |exp(kln2) - 2**k|. We also scale the exponent of in __frexp_exp()
56 exp_x = exp(x - kln2); in __frexp_exp()
58 *expt = (hx >> 20) - (0x3ff + 1023) + k; in __frexp_exp()
59 SET_HIGH_WORD(exp_x, (hx & 0xfffff) | ((0x3ff + 1023) << 20)); in __frexp_exp()
69 * exponential functions. We assume expt is small (0 or -1), and the caller
81 INSERT_WORDS(scale, (0x3ff + expt) << 20, 0); in __ldexp_exp()
[all …]
H A Ds_logb.c31 ix &= 0x7fffffff; /* high |x| */ in logb()
32 if((ix|lx)==0) return -1.0/fabs(x); in logb()
33 if(ix>=0x7ff00000) return x*x; in logb()
34 if(ix<0x00100000) { in logb()
37 ix &= 0x7fffffff; in logb()
38 return (double) ((ix>>20)-1023-54); in logb()
40 return (double) ((ix>>20)-1023); in logb()
H A De_fmod.c24 static const double one = 1.0, Zero[] = {0.0, -0.0,};
34 sx = hx&0x80000000; /* sign of x */ in fmod()
36 hy &= 0x7fffffff; /* |y| */ in fmod()
39 if((hy|ly)==0||(hx>=0x7ff00000)|| /* y=0,or x not finite */ in fmod()
40 ((hy|((ly|-ly)>>31))>0x7ff00000)) /* or y is NaN */ in fmod()
45 return Zero[(u_int32_t)sx>>31]; /* |x|=|y| return x*0*/ in fmod()
49 if(hx<0x00100000) { /* subnormal x */ in fmod()
50 if(hx==0) { in fmod()
51 for (ix = -1043, i=lx; i>0; i<<=1) ix -=1; in fmod()
53 for (ix = -1022,i=(hx<<11); i>0; i<<=1) ix -=1; in fmod()
[all …]
/freebsd/contrib/netbsd-tests/lib/libm/
H A Dt_ldexp.c3 /*-
36 #include <atf-c.h>
47 static const int exps[] = { 0, 1, -1, 100, -100 };
59 { 1.0, 1023, -1, "4.4942328371557897693233e+307" },
60 { 1.0, 1023, SKIP, "8.9884656743115795386465e+307" },
62 { 1.0, -1022, 2045, "8.9884656743115795386465e+307" },
63 { 1.0, -5, SKIP, " 0.03125" },
64 { 1.0, -1021, SKIP, "4.4501477170144027661805e-308" },
65 { 1.0, -1022, 1, "4.4501477170144027661805e-308" },
66 { 1.0, -1022, SKIP, "2.2250738585072013830902e-308" },
[all …]
/freebsd/contrib/gdtoa/
H A DstrtoIdd.c42 static FPI fpi = { 106, 1-1023, 2046-1023-106+1, 1, 1 };
44 static FPI fpi = { 106, 1-1023-53+1, 2046-1023-106+1, 1, 0 };
50 B[0] = Balloc(2);
51 B[0]->wds = 4;
53 ULtodd((ULong*)f0, B[0]->x, exp[0], rv[0]);
54 Bfree(B[0]);
56 ULtodd((ULong*)f1, B[1]->x, exp[1], rv[1]);
60 ((ULong*)f1)[0] = ((ULong*)f0)[0];
H A Dstrtopdd.c42 static FPI fpi0 = { 106, 1-1023, 2046-1023-106+1, 1, 1 };
44 static FPI fpi0 = { 106, 1-1023-53+1, 2046-1023-106+1, 1, 0 };
65 u->d[0] = u->d[1] = 0.;
69 u->L[_1] = (bits[1] >> 21 | bits[2] << 11) & 0xffffffffL;
70 u->L[_0] = (bits[2] >> 21) | ((bits[3] << 11) & 0xfffff)
71 | ((exp + 0x3ff + 105) << 20);
72 exp += 0x3ff + 52;
73 if (bits[1] &= 0x1fffff) {
74 i = hi0bits(bits[1]) - 11;
76 i = exp - 1;
[all …]
H A Dstrtordd.c46 L[0] = L[1] = L[2] = L[3] = 0;
50 L[_1] = (bits[1] >> 21 | bits[2] << 11) & (ULong)0xffffffffL;
51 L[_0] = (bits[2] >> 21) | (bits[3] << 11 & 0xfffff)
52 | ((exp + 0x3ff + 105) << 20);
53 exp += 0x3ff + 52;
54 if (bits[1] &= 0x1fffff) {
55 i = hi0bits(bits[1]) - 11;
57 i = exp - 1;
58 exp = 0;
61 exp -= i;
[all …]
H A DstrtoId.c41 static FPI fpi = { 53, 1-1023-53+1, 2046-1023-53+1, 1, SI };
46 B[0] = Balloc(1);
47 B[0]->wds = 2;
49 ULtod((ULong*)f0, B[0]->x, exp[0], rv[0]);
50 Bfree(B[0]);
52 ULtod((ULong*)f1, B[1]->x, exp[1], rv[1]);
56 ((ULong*)f1)[0] = ((ULong*)f0)[0];
/freebsd/share/man/man4/
H A Dng_lmi.41 .\" Copyright (c) 1996-1999 Whistle Communications, Inc.
19 .\" MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR NON-INFRINGEMENT.
50 the ITU Annex A, ANSI Annex D, and Group-of-four LMI types.
51 It also supports auto-detection of the LMI type.
58 to DLCI 0 or 1023 of a
61 Typically, Annex A and Annex D live on DLCI 0 while Group-of-four
62 lives on DLCI 1023.
64 To enable LMI type auto-detection, connect the
66 hook to DLCI 0 and the
68 hook to DLCI 1023.
[all …]
/freebsd/sys/dev/usb/gadget/
H A Dg_mouse.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
62 static SYSCTL_NODE(_hw_usb, OID_AUTO, g_mouse, CTLFLAG_RW | CTLFLAG_MPSAFE, 0,
66 static int g_mouse_debug = 0;
69 &g_mouse_debug, 0, "Debug level");
72 static int g_mouse_mode = 0;
75 &g_mouse_mode, 0, "Mode selection");
77 static int g_mouse_button_press_interval = 0;
80 &g_mouse_button_press_interval, 0, "Mouse button update interval in milliseconds");
82 static int g_mouse_cursor_update_interval = 1023;
[all …]
/freebsd/contrib/netbsd-tests/ipf/expected/
H A Dl12 missed 1 ipf log entries: 0 1
3 01/01/1970 00:00:00.000000 anon0 @-1:-1 L 1.1.1.1,1025 -> 2.2.2.2,25 PR tcp len 20 40 -S IN
4 01/01/1970 00:00:00.000000 anon0 @-1:-1 L 1.1.1.1,1025 -> 2.2.2.2,25 PR tcp len 20 40 -A IN
5 01/01/1970 00:00:00.000000 anon0 @-1:-1 L 2.2.2.2,25 -> 1.1.1.1,1025 PR tcp len 20 40 -AS IN
6 01/01/1970 00:00:00.000000 anon0 @-1:-1 L 1.1.1.1,1025 -> 2.2.2.2,25 PR tcp len 20 40 -AF IN
7 01/01/1970 00:00:00.000000 2x anon0 @-1:-1 L 1.1.1.1,1025 -> 2.2.2.2,25 PR tcp len 20 40 -A IN
8 01/01/1970 00:00:00.000000 anon0 @-1:-1 L 1.1.1.1,1 -> 4.4.4.4,53 PR udp len 20 40 IN
9 01/01/1970 00:00:00.000000 anon0 @-1:-1 L 2.2.2.2,1 -> 4.4.4.4,53 PR udp len 20 40 IN
10 01/01/1970 00:00:00.000000 anon0 @-1:-1 L 2.2.2.2,1 -> 4.4.4.4,53 PR udp len 20 56 IN
11 01/01/1970 00:00:00.000000 anon0 @-1:-1 L 2.2.2.2 -> 4.4.4.4 PR ip len 20 (20) IN
[all …]
H A Dl1.b1 missed 1 ipf log entries: 0 1
2 01/01/1970 00:00:00.000000 anon0 @-1:-1 L 1.1.1.1,1025 -> 2.2.2.2,25 PR tcp len 20 40 -S IN
3 01/01/1970 00:00:00.000000 anon0 @-1:-1 L 1.1.1.1,1025 -> 2.2.2.2,25 PR tcp len 20 40 -A IN
4 01/01/1970 00:00:00.000000 anon0 @-1:-1 L 2.2.2.2,25 -> 1.1.1.1,1025 PR tcp len 20 40 -AS IN
5 01/01/1970 00:00:00.000000 anon0 @-1:-1 L 1.1.1.1,1025 -> 2.2.2.2,25 PR tcp len 20 40 -AF IN
6 01/01/1970 00:00:00.000000 2x anon0 @-1:-1 L 1.1.1.1,1025 -> 2.2.2.2,25 PR tcp len 20 40 -A IN
7 01/01/1970 00:00:00.000000 anon0 @-1:-1 L 1.1.1.1,1 -> 4.4.4.4,53 PR udp len 20 40 IN
8 01/01/1970 00:00:00.000000 anon0 @-1:-1 L 2.2.2.2,1 -> 4.4.4.4,53 PR udp len 20 40 IN
9 01/01/1970 00:00:00.000000 anon0 @-1:-1 L 2.2.2.2,1 -> 4.4.4.4,53 PR udp len 20 56 IN
10 01/01/1970 00:00:00.000000 anon0 @-1:-1 L 2.2.2.2 -> 4.4.4.4 PR ip len 20 (20) IN
[all …]
/freebsd/sys/contrib/device-tree/src/arm64/rockchip/
H A Drk3566-anbernic-rg353x.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 /dts-v1/;
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/linux-event-codes.h>
7 #include <dt-bindings/pinctrl/rockchip.h>
8 #include "rk3566-anbernic-rgxx3.dtsi"
11 adc-joystick {
12 compatible = "adc-joystick";
13 io-channels = <&adc_mux 0>,
17 pinctrl-0 = <&joy_mux_en>;
[all …]
H A Drk3566-anbernic-rg503.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 /dts-v1/;
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/linux-event-codes.h>
7 #include <dt-bindings/pinctrl/rockchip.h>
8 #include "rk3566-anbernic-rgxx3.dtsi"
20 adc-joystick {
21 compatible = "adc-joystick";
22 io-channels = <&adc_mux 0>,
26 pinctrl-0 = <&joy_mux_en>;
[all …]
/freebsd/tools/test/stress2/misc/
H A Dsplit.sh4 # SPDX-License-Identifier: BSD-2-Clause
32 # fsync: giving up on dirty 0xc9659438: tag devfs, type VCHR
33 # usecount 1, writecount 0, refcount 41 mountedhere 0xc96a2000
35 # v_object 0xc9824aa0 ref 0 pages 355 cleanbuf 37 dirtybuf 2
36 # lock type devfs: EXCL by thread 0xccbca6a0 (pid 42225, dd, tid 100234)
37 # #0 0xc0c26533 at __lockmgr_args+0xae3
38 # #1 0xc0d06cc3 at vop_stdlock+0x53
39 # #2 0xc1212cc0 at VOP_LOCK1_APV+0xe0
40 # #3 0xc0d2b24a at _vn_lock+0xba
41 # #4 0xc0f3f22b at ffs_sync+0x34b
[all …]
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/longname/
H A Dlongname_001_pos.ksh1 #! /bin/ksh -p
34 # 0. On a fresh dataset ensure property "longname" is enabled by default.
51 log_must rm -rf $WORKDIR
52 log_must rm -rf $TESTDIR/movedir
55 LONGNAME=$(printf 'a%.0s' {1..512})
56 LONGFNAME="file-$LONGNAME"
57 LONGDNAME="dir-$LONGNAME"
58 LONGPNAME="mypipe-$LONGNAME"
59 LONGCNAME="char_dev-$LONGNAME"
60 LONGLNAME="link-$LONGNAME"
[all …]
/freebsd/sys/dev/cxgbe/firmware/
H A Dt4fw_cfg.txt5 # niqflint = 1023 ingress queues with freelists and/or interrupts
18 reg[0x7d04] = 0x00010000/0x00010000
21 reg[0x7d6c] = 0x00000000/0x00007000
23 reg[0x7dc0] = 0x0e2f8849 # TP_SHIFT_CNT
31 # TP number of RX channels (0 = auto)
32 tp_nrxch = 0
37 # TP number of TX channels (0 = auto)
38 tp_ntxch = 0
46 # PFs 0-3. These get 8 MSI/8 MSI-X vectors each. VFs are supported by
48 [function "0"]
[all …]
H A Dt6fw_cfg_hashfilter.txt5 # niqflint = 1023 ingress queues with freelists and/or interrupts
19 reg[0x10c4] = 0x20000000/0x20000000 # GK_CONTROL, enable 5th thread
21 reg[0x7dc0] = 0x0e2f8849 # TP_SHIFT_CNT
32 # TP number of RX channels (0 = auto)
33 tp_nrxch = 0
38 # TP number of TX channels (0 = auto)
39 tp_ntxch = 0
45 reg[0x7d04] = 0x00010008/0x00010008
48 reg[0x7d08] = 0x00000800/0x00000800 # set IssFromCplEnable
51 reg[0x7d48] = 0x00000000/0x00000400 # clear EnableFLMError
[all …]
H A Dt5fw_cfg_hashfilter.txt5 # niqflint = 1023 ingress queues with freelists and/or interrupts
23 reg[0x1124] = 0x00000400/0x00000400 # SGE_CONTROL2, enable VFIFO; if
28 reg[0x1130] = 0x00d5ffeb # SGE_DBP_FETCH_THRESHOLD, fetch
30 # minus 128-entries for FL and HP
31 # queues, and 0xfff for LP which
36 reg[0x113c] = 0x0002ffc0 # SGE_VFIFO_SIZE, set to 0x2ffc0 which
42 reg[0x7d04] = 0x00010000/0x00010000
45 reg[0x7d6c] = 0x00000000/0x00007000
48 reg[0x7d78] = 0x00000400/0x00000000
50 reg[0x7dc0] = 0x0e2f8849 # TP_SHIFT_CNT
[all …]
H A Dt5fw_cfg.txt5 # niqflint = 1023 ingress queues with freelists and/or interrupts
23 reg[0x1124] = 0x00000400/0x00000400 # SGE_CONTROL2, enable VFIFO; if
28 reg[0x1130] = 0x00d5ffeb # SGE_DBP_FETCH_THRESHOLD, fetch
30 # minus 128-entries for FL and HP
31 # queues, and 0xfff for LP which
36 reg[0x113c] = 0x0002ffc0 # SGE_VFIFO_SIZE, set to 0x2ffc0 which
42 reg[0x7d04] = 0x00010000/0x00010000
45 reg[0x7d6c] = 0x00000000/0x00007000
48 reg[0x7d78] = 0x00000400/0x00000000
50 reg[0x7dc0] = 0x0e2f8849 # TP_SHIFT_CNT
[all …]
H A Dt6fw_cfg.txt5 # niqflint = 1023 ingress queues with freelists and/or interrupts
19 reg[0x10c4] = 0x20000000/0x20000000 # GK_CONTROL, enable 5th thread
21 reg[0x7dc0] = 0x0e2f8849 # TP_SHIFT_CNT
32 # TP number of RX channels (0 = auto)
33 tp_nrxch = 0
38 # TP number of TX channels (0 = auto)
39 tp_ntxch = 0
45 reg[0x7d04] = 0x00012008/0x00012008
48 reg[0x7d08] = 0x00000800/0x00000800 # set IssFromCplEnable
51 reg[0x7d48] = 0x00000000/0x00000400 # clear EnableFLMError
[all …]
/freebsd/lib/libc/rpc/
H A Dbindresvport.328 port number in the range 0-1023.
36 .Fa sin->sin_family
40 .Fa sin->sin_port
42 .Sq 0
43 then an anonymous port (in the range 600-1023) will be
47 .Fa sin->sin_port
79 .Rv -std bindresvport
81 .Bl -tag -width Er
/freebsd/contrib/netbsd-tests/ipf/input/
H A Dl11 # 1.1.1.1,1025 -> 2.2.2.2,25 TTL=63 TCP DF SYN
38 0001 0035 0000 d16f 0102 0304 0506 0708 090a 0b0d
43 0001 0035 0000 0000 0102 0304 0506 0708 090a 0b0d
48 0001 0035 0000 d47b 0102 0304 0506 0708 090a 0b0d
49 0e0f 4061 4263 4465 4667 4869 4a6b 4c6d
55 #in on e0 udp 3.3.3.3,1023 1.1.1.1,2049
60 #in on e0 udp 1.1.1.1,2049 3.3.3.3,1023

12345678910>>...15