/Linux-v5.4/arch/x86/boot/ |
D | printf.c | 41 static char *number(char *str, long num, int base, int size, int precision, in number() argument 85 if (i > precision) in number() 86 precision = i; in number() 87 size -= precision; in number() 104 while (i < precision--) in number() 124 int precision; /* min. # of digits for integers; max in vsprintf() local 171 precision = -1; in vsprintf() 175 precision = skip_atoi(&fmt); in vsprintf() 179 precision = va_arg(args, int); in vsprintf() 181 if (precision < 0) in vsprintf() [all …]
|
/Linux-v5.4/arch/alpha/boot/ |
D | stdio.c | 43 static char * number(char * str, unsigned long long num, int base, int size, int precision, int typ… in number() argument 82 if (i > precision) in number() 83 precision = i; in number() 84 size -= precision; in number() 101 while (i < precision--) in number() 121 int precision; /* min. # of digits for integers; max in vsprintf() local 161 precision = -1; in vsprintf() 165 precision = skip_atoi(&fmt); in vsprintf() 169 precision = va_arg(args, int); in vsprintf() 171 if (precision < 0) in vsprintf() [all …]
|
/Linux-v5.4/arch/powerpc/boot/ |
D | stdio.c | 79 static char * number(char * str, unsigned long long num, int base, int size, int precision, int typ… in number() argument 118 if (i > precision) in number() 119 precision = i; in number() 120 size -= precision; in number() 137 while (i < precision--) in number() 157 int precision; /* min. # of digits for integers; max in vsprintf() local 197 precision = -1; in vsprintf() 201 precision = skip_atoi(&fmt); in vsprintf() 205 precision = va_arg(args, int); in vsprintf() 207 if (precision < 0) in vsprintf() [all …]
|
/Linux-v5.4/drivers/acpi/acpica/ |
D | utprint.c | 32 u8 base, s32 width, s32 precision, u8 type); 204 u8 base, s32 width, s32 precision, u8 type) in acpi_ut_format_number() argument 259 if (i > precision) { in acpi_ut_format_number() 260 precision = i; in acpi_ut_format_number() 263 width -= precision; in acpi_ut_format_number() 289 while (i <= --precision) { in acpi_ut_format_number() 323 s32 precision; in vsnprintf() local 383 precision = -1; in vsnprintf() 388 precision = (s32)number; in vsnprintf() 391 precision = va_arg(args, int); in vsnprintf() [all …]
|
/Linux-v5.4/arch/arm/nwfpe/ |
D | softfloat-specialize | 71 The pattern for a default generated single-precision NaN. 78 Returns 1 if the single-precision floating-point value `a' is a NaN; 91 Returns 1 if the single-precision floating-point value `a' is a signaling 104 Returns the result of converting the single-precision floating-point NaN 124 precision floating-point format. 136 Takes two single-precision floating-point values `a' and `b', one of which 163 The pattern for a default generated double-precision NaN. 170 Returns 1 if the double-precision floating-point value `a' is a NaN; 183 Returns 1 if the double-precision floating-point value `a' is a signaling 198 Returns the result of converting the double-precision floating-point NaN [all …]
|
/Linux-v5.4/arch/m68k/fpsp040/ |
D | util.S | 96 | If the instruction is fsgldiv of fsglmul, the rounding precision must be 98 | precision instruction, the rounding precision is then set to the force 99 | precision. 109 beql ovff_sgl |force precision is single 111 beql ovff_dbl |force precision is double 136 | Inst is either fsgldiv or fsglmul. Force extended precision. 149 | The precision is in the fpcr. 152 bfextu FPCR_MODE(%a6){#0:#2},%d0 |set round precision 164 | This sets the round precision according to the destination size. 170 | ;is the rounding precision [all …]
|
D | x_store.S | 100 | dest_dbl --- write double precision value to user space 104 | a1 -> source in extended precision 110 |Changes extended precision to double precision. 133 subw #0x3fff,%d0 |subtract extended precision bias 136 addw #0x3ff,%d0 |add double precision bias 166 movel #0x8,%d0 |byte count for double precision number
|
D | slog2.S | 19 | to double precision. The result is provably monotonic 20 | in double precision. 35 | traps, and precision control = double extended. 50 | traps, and precision control = double extended. 64 | traps, and precision control = double extended. 79 | traps, and precision control = double extended.
|
D | stwotox.S | 16 | result is subsequently rounded to double precision. The 17 | result is provably monotonic in double precision. 199 fmovel %d1,%fpcr | ...set user's rounding mode/precision 303 fmovel %d1,%fpcr | ...set user's rounding mode/precision
|
D | sacos.S | 15 | result is subsequently rounded to double precision. The 16 | result is provably monotonic in double precision.
|
D | res_func.S | 112 | destination precision and mode. 476 | the round precision is found in the fpcr. If the rounding precision 486 | The move or operation is not with forced precision. Use the 496 | The move is fdmove or round precision is double. Result is zero. 511 | The move is fsmove or round precision is single. Result is zero. 526 | The precision is extended, so the result in etemp is correct. 636 | call round with user's precision and mode 646 | call round with user's precision and mode 766 btstl #6,%d0 |test for forced precision 787 | ;round precision/mode. This [all …]
|
D | sasin.S | 15 | result is subsequently rounded to double precision. The 16 | result is provably monotonic in double precision.
|
/Linux-v5.4/include/linux/ |
D | average.h | 58 unsigned long precision = _precision; \ 67 (val << precision)) >> weight_rcp : \ 68 (val << precision)); \
|
/Linux-v5.4/Documentation/arm/nwfpe/ |
D | nwfpe.rst | 28 Arithmetic. As many as four formats are supported: single precision, 29 double precision, extended double precision, and quadruple precision. 31 conversions to and from decimal. We use only the single precision, 32 double precision and extended double precision formats. The port of
|
D | notes.rst | 23 extended, then does the multiply in extended precision. 32 in extended precision, due to the stfe instruction used to save f4 in log(y).
|
/Linux-v5.4/lib/ |
D | vsprintf.c | 408 signed int precision:16; /* # of digits/chars */ member 427 int precision = spec.precision; in number() local 474 if (i > precision) in number() 475 precision = i; in number() 477 field_width -= precision; in number() 515 while (i <= --precision) { in number() 545 spec.precision = -1; in special_hex_number() 602 int lim = spec.precision; in string_nocheck() 625 if (spec.precision == -1) in error_string() 626 spec.precision = 2 * sizeof(void *); in error_string() [all …]
|
/Linux-v5.4/drivers/soc/amlogic/ |
D | meson-clk-measure.c | 539 unsigned int *precision) in meson_measure_best_id() argument 548 *precision = (2 * 1000000) / duration; in meson_measure_best_id() 559 unsigned int precision = 0; in clk_msr_show() local 562 val = meson_measure_best_id(clk_msr_id, &precision); in clk_msr_show() 566 seq_printf(s, "%d\t+/-%dHz\n", val, precision); in clk_msr_show() 575 unsigned int precision = 0; in clk_msr_summary_show() local 585 val = meson_measure_best_id(&msr_table[i], &precision); in clk_msr_summary_show() 590 msr_table[i].name, val, precision); in clk_msr_summary_show()
|
/Linux-v5.4/tools/testing/selftests/timers/ |
D | freq-step.c | 40 static double precision; variable 224 precision = get_sample(&sample) / 2.0; in init_test() 226 1e9 * precision); in init_test() 228 if (precision > MAX_PRECISION) in init_test() 230 1e9 * precision, 1e9 * MAX_PRECISION); in init_test()
|
/Linux-v5.4/drivers/iio/gyro/ |
D | adis16136.c | 60 unsigned int precision; member 308 *val = adis16136->chip_info->precision; in adis16136_read_raw() 484 .precision = IIO_DEGREE_TO_RAD(1200), 488 .precision = IIO_DEGREE_TO_RAD(300), 492 .precision = IIO_DEGREE_TO_RAD(450), 496 .precision = IIO_DEGREE_TO_RAD(1000),
|
/Linux-v5.4/include/uapi/linux/ |
D | timex.h | 72 __kernel_long_t precision;/* clock precision (usec) (read only) */ member 110 long long precision;/* clock precision (usec) (read only) */ member
|
/Linux-v5.4/drivers/w1/slaves/ |
D | w1_therm.c | 201 int (*precision)(struct device *device, int val); member 220 .precision = w1_DS18S20_precision, 226 .precision = w1_DS18S20_precision, 232 .precision = w1_DS18B20_precision, 238 .precision = w1_DS18S20_precision, 244 .precision = w1_DS18S20_precision, 466 ret = w1_therm_families[i].precision(device, val); in w1_slave_store()
|
/Linux-v5.4/drivers/hwmon/ |
D | lochnagar-hwmon.c | 72 static long float_to_long(u32 data, u32 precision) in float_to_long() argument 79 man = (man + (1 << 23)) * precision; in float_to_long() 176 unsigned int precision, long *val) in read_sensor() argument 197 *val = float_to_long(data, precision); in read_sensor()
|
/Linux-v5.4/arch/x86/math-emu/ |
D | README | 113 (a) the operands have a higher precision than the current setting of the 114 precision control (PC) flags. 119 operands were rounded to the current precision before the arithmetic 242 precision of the argument x; e.g. an argument of pi/2-(1e-10) which is 265 later) for 'float' variables (24 bit precision numbers) when precision 267 bit precision numbers) when precision control is set to 53 bits (a 269 variables when precision control is set to 64 bits). 273 for pi which is accurate to more than 128 bits precision. As a 289 give much degraded precision. For example, the integer number 292 example) of this number to 64 bits precision it would be necessary to [all …]
|
/Linux-v5.4/Documentation/w1/slaves/ |
D | w1_therm.rst | 42 precision (which would also reduce the conversion time) when reading values. 45 precision of the sensor for the next readings. This value is in (volatile) 48 To store the current precision configuration into EEPROM, the value 0
|
/Linux-v5.4/arch/m68k/ifpsp060/ |
D | fplsp.doc | 79 There are 3 entry-points for each instruction type: single precision, 80 double precision, and extended precision. 83 extended precision operand if program executes: 104 are passed in single precision format.
|