/picolibc-latest/newlib/libm/test/ |
D | test_is.c | 59 myascii = 1; in test_is_single() 60 mycntrl = 1; in test_is_single() 66 myascii = 1; in test_is_single() 67 mycntrl = 1; in test_is_single() 68 setascii = 1; in test_is_single() 69 setlower = 1; in test_is_single() 70 setupper = 1; in test_is_single() 73 myascii = 1; in test_is_single() 74 mycntrl = 1; in test_is_single() 80 myascii = 1; in test_is_single() [all …]
|
D | dvec.c | 24 {__LINE__, 5.790100803298969e-15,"6",1,-14,0,"",1,-1,0,"6e-15",1,NULL}, 27 {__LINE__, 1.047038124260123e+02,"1",1,3,0,"1047",1,3,0,"1e+02",1,NULL}, 29 {__LINE__, 6.188542454563260e+02,"6",1,3,0,"6189",1,3,0,"6e+02",1,NULL}, 32 {__LINE__, 6.530901390373796e-19,"7",1,-18,0,"",1,-1,0,"7e-19",1,NULL}, 38 {__LINE__, 2.569163640433771e+25,"3",1,26,0,"256916364043377109872148480",1,26,0,"3e+25",1,NULL}, 43 {__LINE__, 4.814049311025340e+28,"5",1,29,0,"481404931102534015620732682240",1,29,0,"5e+28",1,NULL}, 48 {__LINE__, 8.713312243134940e+00,"87133",5,1,0,"871331",5,1,0,"8.7133",5,NULL}, 55 {__LINE__, 1.022516585955060e-21,"10",2,-20,0,"",2,-2,0,"1e-21",2,NULL}, 58 {__LINE__, 1.191930545842576e-02,"1",1,-1,0,"",1,-1,0,"0.01",1,NULL}, 61 {__LINE__, 4.763038868476586e-17,"5",1,-16,0,"",1,-1,0,"5e-17",1,NULL}, [all …]
|
D | copysign_vec.c | 10 * 1. Redistributions of source code must retain the above copyright 68 /* copysign(+1,+y)= +1 for any y (even a NaN) */ 69 …E__, 0x3ff00000, 0x00000000, 0x3ff00000, 0x00000000, 0x7ff80000, 0x00000000 }, /* 1=f(1, qnan) */ 70 …E__, 0x3ff00000, 0x00000000, 0x3ff00000, 0x00000000, 0x7ff40000, 0x00000000 }, /* 1=f(1, snan) */ 71 …E__, 0x3ff00000, 0x00000000, 0x3ff00000, 0x00000000, 0x7ff00000, 0x00000000 }, /* 1=f(1, +inf) */ 72 …INE__, 0x3ff00000, 0x00000000, 0x3ff00000, 0x00000000, 0x40100000, 0x00000000 }, /* 1=f(1, +4) */ 73 …E__, 0x3ff00000, 0x00000000, 0x3ff00000, 0x00000000, 0x3fe00000, 0x00000000 }, /* 1=f(1, +0.5) */ 75 /* copysign(+1,+y)= -1 for any y (even a NaN) */ 76 …__, 0xbff00000, 0x00000000, 0x3ff00000, 0x00000000, 0xfff80000, 0x00000000 }, /* 1=f(1, -qnan) */ 77 …__, 0xbff00000, 0x00000000, 0x3ff00000, 0x00000000, 0xfff40000, 0x00000000 }, /* 1=f(1, -snan) */ [all …]
|
D | copysignf_vec.c | 10 * 1. Redistributions of source code must retain the above copyright 68 /* copysign(+1,+y)= +1 for any y (even a NaN) */ 69 …E__, 0x3ff00000, 0x00000000, 0x3ff00000, 0x00000000, 0x7ff80000, 0x00000000 }, /* 1=f(1, qnan) */ 70 …E__, 0x3ff00000, 0x00000000, 0x3ff00000, 0x00000000, 0x7ff40000, 0x00000000 }, /* 1=f(1, snan) */ 71 …E__, 0x3ff00000, 0x00000000, 0x3ff00000, 0x00000000, 0x7ff00000, 0x00000000 }, /* 1=f(1, +inf) */ 72 …INE__, 0x3ff00000, 0x00000000, 0x3ff00000, 0x00000000, 0x40100000, 0x00000000 }, /* 1=f(1, +4) */ 73 …E__, 0x3ff00000, 0x00000000, 0x3ff00000, 0x00000000, 0x3fe00000, 0x00000000 }, /* 1=f(1, +0.5) */ 75 /* copysign(+1,+y)= -1 for any y (even a NaN) */ 76 …__, 0xbff00000, 0x00000000, 0x3ff00000, 0x00000000, 0xfff80000, 0x00000000 }, /* 1=f(1, -qnan) */ 77 …__, 0xbff00000, 0x00000000, 0x3ff00000, 0x00000000, 0xfff40000, 0x00000000 }, /* 1=f(1, -snan) */ [all …]
|
/picolibc-latest/newlib/testsuite/newlib.locale/ |
D | UTF-8.exp | 16 [regexp "#define _MB_LEN_MAX 1" $picolibc_header_text]} { 40 "* 1 Invalid" 41 "* 1 Invalid" 54 "* 1 Invalid" 55 "* 1 Invalid" 56 "* 1 Invalid" 57 "* 1 Invalid" 58 "* 1 Invalid" 59 "* 1 Invalid" 60 "* 1 Invalid" [all …]
|
D | UTF-8.c | 145 return 1; in main() 154 printf("2.1.1: U-%08ld\n", (long) wchar); in main() 156 printf("2.1.1: Invalid\n"); in main() 160 retval = mbtowc (&wchar, first[i-1], MAX_BYTES); in main() 168 for (i = 1; i < 7; i++) in main() 170 retval = mbtowc (&wchar, last[i-1], MAX_BYTES); in main() 178 for (i = 1; i < 6; i++) in main() 180 retval = mbtowc (&wchar, boundary[i-1], MAX_BYTES); in main() 190 if (retval == 1) in main() 191 printf("3.1.1: U-%08lx\n", (long) wchar); in main() [all …]
|
/picolibc-latest/newlib/libc/misc/ |
D | unctrl.c | 40 * 1. Redistributions of source code must retain the above copyright 74 "0", "1", "2", "3", "4", "5", "6", "7", 108 1, 1, 1, 1, 1, 1, 1, 1, 109 1, 1, 1, 1, 1, 1, 1, 1, 110 1, 1, 1, 1, 1, 1, 1, 1, 111 1, 1, 1, 1, 1, 1, 1, 1, 112 1, 1, 1, 1, 1, 1, 1, 1, 113 1, 1, 1, 1, 1, 1, 1, 1, 114 1, 1, 1, 1, 1, 1, 1, 1, 115 1, 1, 1, 1, 1, 1, 1, 1, [all …]
|
/picolibc-latest/ |
D | CMakeLists.txt | 10 # 1. Redistributions of source code must retain the above copyright 82 set(ATOMIC_UNGETC 1) 216 picolibc_flag(_HAVE_FORMAT_ATTRIBUTE 1) 227 set(_HAVE_INITFINI_ARRAY 1) 230 set(_HAVE_INIT_FINI 1) 233 set(_PICOCRT_ENABLE_MMU 1) 246 set(_HAVE_SEMIHOST 1) 248 set(_ICONV_FROM_ENCODING_ 1) 249 set(_ICONV_FROM_ENCODING_BIG5 1) 250 set(_ICONV_FROM_ENCODING_CP775 1) [all …]
|
/picolibc-latest/newlib/libc/machine/mep/ |
D | setjmp.S | 10 # $1 32 # $1 is the address of the buffer. We return 0 in $0. 34 sw $0, ($1) 35 sw $1, 4($1) 36 sw $2, 8($1) 37 sw $3, 12($1) 38 sw $4, 16($1) 39 sw $5, 20($1) 40 sw $6, 24($1) 41 sw $7, 28($1) [all …]
|
/picolibc-latest/newlib/libm/common/ |
D | log_data.c | 9 1. Redistributions of source code must retain the above copyright 34 #define N (1 << LOG_TABLE_BITS) 37 .ln2hi = 0x1.62e42fefa3800p-1, 42 // in -0x1p-5 0x1.1p-5 (|log(1+x)| > 0x1p-5 outside this interval) 43 -0x1p-1, 54 // in -0x1p-5 0x1.1p-5 (|log(1+x)| > 0x1p-5 outside this interval) 55 -0x1p-1, 67 // in -0x1p-4 0x1.09p-4 (|log(1+x)| > 0x1p-4 outside the interval) 68 -0x1p-1, 86 -0x1.0000000000027p-1, [all …]
|
D | log2_data.c | 9 1. Redistributions of source code must retain the above copyright 34 #define N (1 << LOG2_TABLE_BITS) 44 -0x1.71547652b82fep-1, 61 -0x1.71547652b8339p-1, 73 log2(z/c) = poly(z/c - 1) 75 where z is in [1.6p-1; 1.6p0] which is split into N subintervals and z falls 78 tab[i].invc = 1/c 84 floating point invc candidates around 1/center and selecting one for which 86 1) the rounding error in 0x1.8p10 + logc is 0, 90 Note: 1) ensures that k + logc can be computed without rounding error, 2) [all …]
|
D | pow_log_data.c | 9 1. Redistributions of source code must retain the above copyright 34 #define N (1 << POW_LOG_TABLE_BITS) 37 .ln2hi = 0x1.62e42fefa3800p-1, 44 -0x1p-1, 57 log(z/c) = poly(z/c - 1) 59 where z is in [0x1.69555p-1; 0x1.69555p0] which is split into N subintervals 62 tab[i].invc = 1/c 66 where c is chosen near the center of the subinterval such that 1/c has only a 67 few precision bits so z/c - 1 is exactly representible as double: 69 1/c = center < 1 ? round(N/center)/N : round(2*N/center)/N/2 [all …]
|
/picolibc-latest/newlib/libc/include/sys/ |
D | features.h | 49 * _POSIX_SOURCE (deprecated by _POSIX_C_SOURCE=1) 50 * _POSIX_C_SOURCE >= 1 51 * POSIX.1-1990 57 * POSIX.1b-1993 Real-time extensions 60 * POSIX.1c-1995 Threads extensions 63 * POSIX.1-2001 and C99 66 * POSIX.1-2008 69 * POSIX.1-2024 72 * POSIX.1-1990 and XPG4 78 * SUSv2 (POSIX.1c-1995 plus XSI) [all …]
|
/picolibc-latest/newlib/libm/ld/ld128/ |
D | s_erfl.c | 36 * erfc(x) = 1-erf(x) 42 * 1. erf(x) = x + x*R(x^2) for |x| in [0, 7/8] 49 * 1a. erf(x) = 1 - erfc(x), for |x| > 1.0 50 * erfc(x) = 1 - erf(x) if |x| < 1/4 52 * 2. For |x| in [7/8, 1], let s = |x| - 1, and 55 * Remark: here we use the taylor series expansion at x=1. 56 * erf(1+s) = erf(1) + s*Poly(s) 60 * 3. For x in [1/4, 5/4], 62 * for const = 1/4, 3/8, ..., 9/8 63 * and 0 <= s <= 1/8 . [all …]
|
D | s_exp2l.c | 8 * 1. Redistributions of source code must retain the above copyright 31 #define TBLSIZE (1 << TBLBITS) 33 #define BIAS (LDBL_MAX_EXP - 1) 44 P1 = 0x1.62e42fefa39ef35793c7673007e6p-1L, 59 0x1.6a09e667f3bcc908b2fb1366dfeap-1L, 60 0x1.6c012750bdabeed76a99800f4edep-1L, 61 0x1.6dfb23c651a2ef220e2cbe1bc0d4p-1L, 62 0x1.6ff7df9519483cf87e1b4f3e1e98p-1L, 63 0x1.71f75e8ec5f73dd2370f2ef0b148p-1L, 64 0x1.73f9a48a58173bd5c9a4e68ab074p-1L, [all …]
|
/picolibc-latest/newlib/libc/tinystdio/ |
D | atold_engine.c | 10 * 1. Redistributions of source code must retain the above copyright 60 1e+1L, 1e+2L, 1e+4L, 1e+8L, 1e+16L, 1e+32L, 62 1e+64L, 65 1e+128L, 68 1e+256L, 71 1e+512L, 74 1e+1024L, 77 1e+2048L, 80 1e+4096L 85 1e-1L, 1e-2L, 1e-4L, 1e-8L, 1e-16L, 1e-32L, [all …]
|
/picolibc-latest/newlib/libm/ld/ld80/ |
D | s_exp2l.c | 8 * 1. Redistributions of source code must retain the above copyright 30 #define TBLSIZE (1 << TBLBITS) 32 #define BIAS (LDBL_MAX_EXP - 1) 44 P1 = 0x1.62e42fefa39efp-1, 52 0x1.6a09e667f3bcdp-1, -0x1.bdd3413b2648p-55, 53 0x1.6c012750bdabfp-1, -0x1.2895667ff0cp-57, 54 0x1.6dfb23c651a2fp-1, -0x1.bbe3a683c88p-58, 55 0x1.6ff7df9519484p-1, -0x1.83c0f25860fp-56, 56 0x1.71f75e8ec5f74p-1, -0x1.16e4786887bp-56, 57 0x1.73f9a48a58174p-1, -0x1.0a8d96c65d5p-55, [all …]
|
D | e_powl.c | 51 * of the approximation interval the logarithm equal 1/32 52 * and its relative error is about 1 lsb = 1.1e-19. Hence 70 * pow underflow x**y < 1/MAXNUM 0.0 82 /* log(1+x) = x - .5x^2 + x^3 * P(z)/Q(z) 83 * on the domain 2^(-1/32) - 1 <= x <= 2^(1/32) - 1 87 4.9000050881978028599627E-1L, 102 9.7857206208770013448287E-1L, 103 9.5760328069857364691013E-1L, 104 9.3708381705514995065011E-1L, 105 9.1700404320467123175367E-1L, [all …]
|
/picolibc-latest/test/ |
D | long_double_vec.h | 4 { .line = __LINE__, .x = -10L, .y = 1 }, 5 { .line = __LINE__, .x = -9.9L, .y = 1 }, 6 { .line = __LINE__, .x = -9.8L, .y = 1 }, 7 { .line = __LINE__, .x = -9.7L, .y = 1 }, 8 { .line = __LINE__, .x = -9.6L, .y = 1 }, 9 { .line = __LINE__, .x = -9.5L, .y = 1 }, 10 { .line = __LINE__, .x = -9.4L, .y = 1 }, 11 { .line = __LINE__, .x = -9.3L, .y = 1 }, 12 { .line = __LINE__, .x = -9.2L, .y = 1 }, 13 { .line = __LINE__, .x = -9.1L, .y = 1 }, [all …]
|
/picolibc-latest/newlib/libc/machine/crx/sys/ |
D | asm.h | 24 #define _absb_(src, dest) __asm__("absb %1, %0" : "=r" (dest) : \ 26 #define _absw_(src, dest) __asm__("absw %1,%0" : "=r" (dest) : \ 28 #define _absd_(src, dest) __asm__("absd %1, %0" : "=r" (dest) : \ 32 #define _addb_(src, dest) __asm__("addb %1, %0" : "=r" (dest) : \ 34 #define _addub_(src, dest) __asm__("addub %1, %0" : "=r" (dest) : \ 36 #define _addw_(src, dest) __asm__("addw %1, %0" : "=r" (dest) : \ 38 #define _adduw_(src, dest) __asm__("adduw %1, %0" : "=r" (dest) : \ 40 #define _addd_(src, dest) __asm__("addd %1, %0" : "=r" (dest) : \ 42 #define _addud_(src, dest) __asm__("addud %1, %0" : "=r" (dest) : \ 45 #define _addcb_(src, dest) __asm__("addcb %1, %0" : "=r" (dest) : \ [all …]
|
/picolibc-latest/newlib/libc/ctype/ |
D | mkcaseconv | 13 exit 1 30 …[^;]*;[^;]*;[^;]*;[^;]*;[^;]*;[^;]*;\([^;][^;]*\);\([^;]*\);\([^;]*\)$,src \1 upper "\2" lower "\3… 32 …[^;]*;[^;]*;[^;]*;[^;]*;[^;]*;[^;]*;\([^;]*\);\([^;][^;]*\);\([^;]*\)$,src \1 upper "\2" lower "\3… 34 …[^;]*;[^;]*;[^;]*;[^;]*;[^;]*;[^;]*;\([^;]*\);\([^;]*\);\([^;][^;]*\)$,src \1 upper "\2" lower "\3… 44 then tohi=$(( 0x0$3 - 0x0$1 )) 48 then tolo=$(( 0x0$5 - 0x0$1 )) 54 case "$1.$tohi" in 55 *[02468ACE].1) echo "'#error' U+$1 ODDSML";; 56 *[02468ACE].-1) echo " 0x$1 TO1 ODDCAP";; 57 *[13579BDF].1) echo "'#error' U+$1 EVENSML";; [all …]
|
/picolibc-latest/newlib/libc/include/ |
D | stdint.h | 22 #define __int_least8_t_defined 1 28 #define __int_least16_t_defined 1 34 #define __int_least32_t_defined 1 40 #define __int_least64_t_defined 1 52 #define __int_fast8_t_defined 1 56 #define __int_fast8_t_defined 1 62 #define __int_fast16_t_defined 1 66 #define __int_fast16_t_defined 1 72 #define __int_fast32_t_defined 1 76 #define __int_fast32_t_defined 1 [all …]
|
/picolibc-latest/newlib/libc/include/machine/ |
D | _default_types.h | 26 #define __have_longlong64 1 31 #define __have_long64 1 33 #define __have_long32 1 47 #define ___int8_t_defined 1 51 #define ___int8_t_defined 1 61 #define ___int16_t_defined 1 65 #define ___int16_t_defined 1 69 #define ___int16_t_defined 1 73 #define ___int16_t_defined 1 83 #define ___int32_t_defined 1 [all …]
|
/picolibc-latest/semihost/machine/sparc/ |
D | sparc_iob.c | 10 * 1. Redistributions of source code must retain the above copyright 58 #define UART_DATA_READY (1 << 0) 59 #define UART_TRANSMIT_SHIFT_EMPTY (1 << 1) 60 #define UART_TRANSMIT_FIFO_EMPTY (1 << 2) 61 #define UART_BREAK_RECEIVED (1 << 3) 62 #define UART_OVERRUN (1 << 4) 63 #define UART_PARITY_ERROR (1 << 5) 64 #define UART_FRAMING_ERROR (1 << 6) 65 #define UART_TRANSMIT_FIFO_HALF (1 << 7) 66 #define UART_RECEIVE_FIFO_HALF (1 << 8) [all …]
|
/picolibc-latest/newlib/libc/machine/xtensa/ |
D | strncpy.S | 36 addi a3, a3, 1 // advance src pointer 38 addi a4, a4, -1 // decrement n 40 addi a10, a10, 1 // advance dst pointer 42 bbci.l a3, 1, .Lsrcaligned // if src is now word-aligned 46 addi a4, a4, -1 // decrement n 49 addi a10, a10, 1 // advance dst pointer 51 l8ui a8, a3, 1 // get byte 0 54 addi a4, a4, -1 // decrement n 56 addi a10, a10, 1 // advance dst pointer 82 bbsi.l a3, 1, .Lsrc2mod4 [all …]
|