/picolibc-latest/newlib/libc/stdlib/ |
D | stdlib.tex | 15 * Function abs:: Integer absolute value (magnitude) 19 * Function atoi:: String to integer 30 * Function itoa:: Integer to string 31 * Function labs:: Long integer absolute value (magnitude) 33 * Function llabs:: Long long integer absolute value (magnitude) 60 * Function utoa:: Unsigned integer to string
|
D | srandom.c | 20 <<random>> returns a different integer each time it is called; each 21 integer is chosen by an algorithm designed to be unpredictable, so 38 <<random>> returns the next pseudo-random integer in sequence; it is a
|
D | llabs.c | 3 <<llabs>>---compute the absolute value of an long long integer. 13 The <<llabs>> function computes the absolute value of the long long integer 20 A nonnegative long long integer.
|
D | random.c | 20 <<random>> returns a different integer each time it is called; each 21 integer is chosen by an algorithm designed to be unpredictable, so 38 <<random>> returns the next pseudo-random integer in sequence; it is a
|
D | srand.c | 23 <<rand>> returns a different integer each time it is called; each 24 integer is chosen by an algorithm designed to be unpredictable, so 41 <<rand>> returns the next pseudo-random integer in sequence; it is a
|
D | rand.c | 23 <<rand>> returns a different integer each time it is called; each 24 integer is chosen by an algorithm designed to be unpredictable, so 41 <<rand>> returns the next pseudo-random integer in sequence; it is a
|
/picolibc-latest/doc/printf-sample/ |
D | Makefile | 56 LOG=printf.log printf-float.log printf-long-long.log printf-integer.log printf-minimal.log 58 ALL=printf.elf printf-float.elf printf-long-long.elf printf-integer.elf printf-minimal.elf 80 printf-integer.log: printf-integer.elf 83 printf-integer.elf: printf.c
|
/picolibc-latest/newlib/libm/machine/spu/headers/ |
D | ceilf.h | 45 * nearest integer returning the result as a float. Two forms of the 46 * ceiling function are provided - full range and limited (integer) 55 * signed integer range. Values outside this range get clamped. 61 /* 32-BIT INTEGER DYNAMIC RANGE in _ceilf() 77 /* Remove fraction bits by casting to an integer and back in _ceilf()
|
D | floorf.h | 45 * nearest integer returning the result as a float. Two forms of the 46 * floor function are provided - full range and limited (integer) 55 * signed integer range. Values outside this range get clamped. 61 /* 32-BIT INTEGER DYNAMIC RANGE in _floorf() 77 /* Remove fraction bits by casting to an integer and back in _floorf()
|
D | powf4.h | 86 * determine if we have an integer. in _powf4() 91 /* Leave the lowest-order integer bit of mantissa on the in _powf4() 92 * high end so we can see if the integer is odd. in _powf4() 103 /* x < 0 is only ok when y integer in _powf4() 108 /* Preserve the sign of x if y is an odd integer in _powf4()
|
D | powd2.h | 88 /* Determine if y is an integer */ in _powd2() 95 /* Determine if y is an even integer */ in _powd2() 108 /* x < 0 is only ok when y integer */ in _powd2() 111 /* Preserve the sign of x if y is an odd integer */ in _powd2()
|
/picolibc-latest/newlib/libm/common/ |
D | s_modf.c | 16 <<modf>>, <<modff>>---split fractional and integer parts 29 <<modf>> splits the double <[val]> apart into an integer part 31 storing the integer part in <<*<[ipart]>>>. No rounding 32 whatsoever is done; the sum of the integer and fractional 73 if(j0<20) { /* integer part in high x */ in modf64()
|
/picolibc-latest/newlib/libm/machine/x86/ |
D | f_llrint.c | 19 <<llrint>>, <<llrintf>>, <<llrintl>>---round and convert to long long integer 34 The <<llrint>>, <<llrintf>> and <<llrintl>> functions round <[x]> to the nearest integer value, 40 These functions return the rounded integer value of <[x]>. 41 <<llrint>>, <<llrintf>> and <<llrintl>> return the result as a long long integer.
|
D | f_lrint.c | 26 <<lrint>>, <<lrintf>>, <<lrintl>>---round and convert to long integer 41 The <<lrint>>, <<lrintf>> and <<lrintl>> functions round <[x]> to the nearest integer value, 47 These functions return the rounded integer value of <[x]>. 48 <<lrint>>, <<lrintf>> and <<lrintl>> return the result as a long integer.
|
D | f_rint.c | 26 <<rint>>, <<rintf>>, <<rintl>>---round to integer 41 The <<rint>>, <<rintf>> and <<rintl>> functions round <[x]> to an integer value 46 These functions return the rounded integer value of <[x]>.
|
/picolibc-latest/newlib/libc/stdio/ |
D | sscanf.c | 113 an optional maximum field width: a decimal integer, 261 Reads a decimal integer into the corresponding <[arg]>: <<(int *arg)>>. 264 Reads a decimal integer into the corresponding 268 Reads an octal integer into the corresponding <[arg]>: <<(int *arg)>>. 271 Reads an octal integer into the corresponding <[arg]>: <<(long *arg)>>. 274 Reads an unsigned decimal integer into the corresponding 278 Reads an unsigned decimal integer into the corresponding <[arg]>: 282 Read a hexadecimal integer into the corresponding <[arg]>: 294 Reads a decimal, octal or hexadecimal integer into the 298 Reads a decimal, octal or hexadecimal integer into the [all …]
|
D | diprintf.c | 8 <<diprintf>>, <<vdiprintf>>---print to a file descriptor (integer only) 31 except that only integer format specifiers are processed. 40 This set of functions is an integer-only extension, and is not portable.
|
D | swprintf.c | 99 specifying <[pos]>, which is a decimal integer followed by 100 '$'. The integer must be between 1 and <NL_ARGMAX> from 125 integer portion of the conversion would be formatted 211 either specify it directly as a decimal integer, or 216 with m as a decimal integer. Negative field widths 226 the precision either directly as a decimal integer or 231 decimal integer. Supplying a negative precision is 402 Prints a signed decimal integer; takes an 408 Prints an unsigned octal integer; takes an 414 Prints an unsigned decimal integer; takes an [all …]
|
/picolibc-latest/newlib/libm/math/ |
D | math.tex | 67 * Function lrint:: Round to integer 68 * Function lround:: Round to integer, away from zero (lround, llround) 69 * Function modf:: Split fractional and integer parts 71 * Function nearbyint:: Round to integer 77 * Function rint:: Round to integer 78 * Function round:: Round to integer, away from zero 86 * Function trunc:: Round to integer, towards zero
|
D | s_pow.c | 37 * 11. -0 ** (+anything except 0, NAN, odd integer) is +0 39 * 13. -0 ** (-anything except 0, NAN, odd integer) is +INF 40 * 14. -0 ** (odd integer) = -( +0 ** (odd integer) ) 44 * 18. (-anything) ** (integer) is (-1)**(integer)*(+anything**integer) 45 * 19. (-anything except 0 and inf) ** (non-integer) is NAN 49 * pow(integer,integer) 50 * always returns the correct integer provided it is 128 * yisint = 0 ... y is not an integer in pow64() 135 yisint = 2; /* even integer y */ in pow64()
|
D | k_rem_pio2.c | 22 * The method is to compute the integer (mod 8) and fraction parts of 24 * skip the part of the product that are known to be a huge integer ( 64 * prec an integer indicating the precision: 71 * integer array, contains the (24*i)-th to (24*i+23)-th 87 * jz local integer variable indicating the number of 95 * is an integer. Thus 112 * iq[] integer array by breaking up q[] in 24-bits chunk. 116 * ih integer. If >0 it indicates q[] is >= 0.5, hence 201 z -= _F_64(8.0) * floor(z * _F_64(0.125)); /* trim off integer >= 8 */ in __kernel_rem_pio2() 285 /* convert integer "bit" chunk to floating-point value */ in __kernel_rem_pio2()
|
D | s_floor.c | 38 the nearest integer less than or equal to <[x]>. 43 the nearest integer greater than or equal to <[x]>. 46 <<floor>> and <<ceil>> return the integer result as a double. 47 <<floorf>> and <<ceilf>> return the integer result as a float.
|
/picolibc-latest/doc/ |
D | printf.md | 25 * Printf uses within picolibc (which are all integer-only) now share 27 integer-only and float versions 30 work even when using integer-only or float printf functions. 102 `-Dformat-default=integer`). This removes support for long long 175 Going to integer-only reduces the size even further, but now it 214 float format 'a' are included in the long-long, integer and minimal 219 arguments to the long long and integer printf and scanf variant 225 support for long long types is included in the integer variant of 277 'nano' printf code doesn't support long-long integer output, so we
|
/picolibc-latest/newlib/libm/test/ |
D | pow_vec.c | 63 /* pow(±0, y) = ±∞ and signals divideByZero for y an odd integer < 0 */ 67 /* pow(±0, y) = +∞ and signals divideByZero for y < 0 and not an odd integer */ 73 /* pow(±0, y)= +0 for y >0 and not an odd integer */ 91 /* pow(x,y) returns a quiet NaN and signals invalid for finite x < 0 and finite non-integer y */ 108 /* If x is +0 (-0), and y is an odd integer greater than 0, the result is +0 (-0). */ 112 /* If x is 0, and y greater than 0 and not an odd integer, the result is +0. */ 136 /* If x is negative infinity, and y is an odd integer less than 0, the result is -0. */ 139 /* If x is negative infinity, and y less than 0 and not an odd integer, the result is +0. */ 143 /* If x is negative infinity, and y is an odd integer greater than 0, the result is negative in… 146 /* If x is negative infinity, and y greater than 0 and not an odd integer, the result is positive…
|
/picolibc-latest/newlib/libm/ld/ld128/ |
D | e_powl.c | 50 * 11. -0 ** (+anything except 0, NAN, odd integer) is +0 52 * 13. -0 ** (-anything except 0, NAN, odd integer) is +INF 53 * 14. -0 ** (odd integer) = -( +0 ** (odd integer) ) 57 * 18. (-anything) ** (integer) is (-1)**(integer)*(+anything**integer) 58 * 19. (-anything except 0 and inf) ** (non-integer) is NAN 189 * yisint = 0 ... y is not an integer in powl() 197 yisint = 2; /* even integer y */ in powl()
|