Home
last modified time | relevance | path

Searched +full:low +full:- +full:precision (Results 1 – 25 of 403) sorted by relevance

12345678910>>...17

/OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/lib/gcc/aarch64-none-linux-gnu/10.3.1/plugin/include/
H A Ddouble-int.h2 Copyright (C) 2006-2020 Free Software Foundation, Inc.
24 It therefore represents a number with precision of
26 internal representation will change, if numbers with greater precision
32 versions of the function -- double_int_op, that takes an extra UNS argument
36 You may also represent with numbers in smaller precision using double_int.
38 number over the prescribed precision with zeros or with the sign bit) before
39 operations that do not perform arithmetics modulo 2^precision (comparisons,
46 numbers with precision higher than HOST_WIDE_INT). It might be less
53 First, defining a constructor makes the class non-POD in C++03,
60 static double_int from_pair (HOST_WIDE_INT high, unsigned HOST_WIDE_INT low);
[all …]
H A Dwide-int.h1 /* Operations with very long integers. -*- C++ -*-
2 Copyright (C) 2012-2020 Free Software Foundation, Inc.
23 /* wide-int.[cc|h] implements a class that efficiently performs
24 mathematical operations on finite precision integers. wide_ints
25 are designed to be transient - they are not for long term storage
29 The actual precision of a wide_int depends on the flavor. There
33 precision of its input arguments. It is assumed (and checked)
36 bits above the precision that has been specified. Because of
43 to extend a value beyond the precision specified in the mode.
56 2) offset_int. This is a fixed-precision integer that can hold
[all …]
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/lib/gcc/arm-none-linux-gnueabihf/10.3.1/plugin/include/
H A Ddouble-int.h2 Copyright (C) 2006-2020 Free Software Foundation, Inc.
24 It therefore represents a number with precision of
26 internal representation will change, if numbers with greater precision
32 versions of the function -- double_int_op, that takes an extra UNS argument
36 You may also represent with numbers in smaller precision using double_int.
38 number over the prescribed precision with zeros or with the sign bit) before
39 operations that do not perform arithmetics modulo 2^precision (comparisons,
46 numbers with precision higher than HOST_WIDE_INT). It might be less
53 First, defining a constructor makes the class non-POD in C++03,
60 static double_int from_pair (HOST_WIDE_INT high, unsigned HOST_WIDE_INT low);
[all …]
H A Dwide-int.h1 /* Operations with very long integers. -*- C++ -*-
2 Copyright (C) 2012-2020 Free Software Foundation, Inc.
23 /* wide-int.[cc|h] implements a class that efficiently performs
24 mathematical operations on finite precision integers. wide_ints
25 are designed to be transient - they are not for long term storage
29 The actual precision of a wide_int depends on the flavor. There
33 precision of its input arguments. It is assumed (and checked)
36 bits above the precision that has been specified. Because of
43 to extend a value beyond the precision specified in the mode.
56 2) offset_int. This is a fixed-precision integer that can hold
[all …]
/OK3568_Linux_fs/kernel/arch/arm/nwfpe/
H A Dsoftfloat-specialize5 This C source fragment is part of the SoftFloat IEC/IEEE Floating-point
11 National Science Foundation under grant MIP-9311980. The original version
12 of this code was written as part of a project to build a fixed-point vector
16 http://www.jhauser.us/arithmetic/SoftFloat-2b/SoftFloat-source.txt
33 -------------------------------------------------------------------------------
34 Underflow tininess-detection mode, statically initialized to default value.
36 -------------------------------------------------------------------------------
41 -------------------------------------------------------------------------------
42 Raises the exceptions specified by `flags'. Floating-point traps can be
48 Moved this function out of softfloat-specialize into fpmodule.c.
[all …]
H A Dsoftfloat.c4 This C source file is part of the SoftFloat IEC/IEEE Floating-point
10 National Science Foundation under grant MIP-9311980. The original version
11 of this code was written as part of a project to build a fixed-point vector
15 http://www.jhauser.us/arithmetic/SoftFloat-2b/SoftFloat-source.txt
38 -------------------------------------------------------------------------------
39 Primitive arithmetic functions, including multi-word arithmetic, and
42 -------------------------------------------------------------------------------
44 #include "softfloat-macros"
47 -------------------------------------------------------------------------------
52 are propagated from function inputs to output. These details are target-
[all …]
/OK3568_Linux_fs/kernel/Documentation/timers/
H A Dhrtimers.rst2 hrtimers - subsystem for high-resolution kernel timers
5 This patch introduces a new subsystem for high-resolution kernel timers.
9 back and forth trying to integrate high-resolution and high-precision
11 such high-resolution timer implementations in practice, we came to the
18 - the forced handling of low-resolution and high-resolution timers in
21 32-bitness assumptions, and has been honed and micro-optimized for a
23 for many years - and thus even small extensions to it easily break
26 current usage - but it is simply not suitable to be extended for
27 high-res timers.
29 - the unpredictable [O(N)] overhead of cascading leads to delays which
[all …]
/OK3568_Linux_fs/kernel/drivers/firmware/efi/libstub/
H A Dvsprintf.c1 // SPDX-License-Identifier: GPL-2.0-only
2 /* -*- linux-c -*- ------------------------------------------------------- *
5 * Copyright 2007 rPath, Inc. - All Rights Reserved
7 * ----------------------------------------------------------------------- */
10 * Oh, it's a waste of space, but oh-so-yummy for debugging.
28 i = i * 10 + *((*s)++) - '0'; in skip_atoi()
44 *--end = '0' + (r - q * 10); in put_dec_full4()
47 *--end = '0' + r; in put_dec_full4()
57 * (second call in the put_dec code, assuming n is all-ones).
64 put_dec_full4(end, x - q * 10000); in put_dec_helper4()
[all …]
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/hwmon/
H A Dsensirion,shtc1.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Christopher Ruehl chris.ruehl@gtsys.com.hk
14 designed especially for battery-driven high-volume consumer electronics
24 - sensirion,shtc1
25 - sensirion,shtw1
26 - sensirion,shtc3
31 sensirion,blocking-io:
36 sensirion,low-precision:
[all …]
H A Dadi,ltc2947.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Analog Devices LTC2947 high precision power and energy monitor
10 - Nuno Sá <nuno.sa@analog.com>
13 Analog Devices LTC2947 high precision power and energy monitor over SPI or I2C.
15 https://www.analog.com/media/en/technical-documentation/data-sheets/LTC2947.pdf
20 - adi,ltc2947
33 adi,accumulator-ctl-pol:
41 $ref: /schemas/types.yaml#/definitions/uint32-array
[all …]
/OK3568_Linux_fs/kernel/arch/m68k/fpsp040/
H A Dutil.S12 | g_rndpr: returns the rounding precision.
48 | ;largest -ext
70 | ovf_r_k --- overflow result calculation
74 | This forces the destination precision to be extended
86 | ovf_r_x2 --- overflow result calculation
93 | This sets the round precision according to the user's FPCR unless the
96 | If the instruction is fsgldiv of fsglmul, the rounding precision must be
97 | extended. If the instruction is not fsgldiv or fsglmul but a force-
98 | precision instruction, the rounding precision is then set to the force
99 | precision.
[all …]
H A Dsmovecr.S52 cmpib #0x0a,%d0 |check range $01 - $0a
54 cmpib #0x0e,%d0 |check range $0b - $0e
56 cmpib #0x2f,%d0 |check range $10 - $2f
58 cmpib #0x3f,%d0 |check range $30 - $3f
78 subil #0xb,%d0 |make offset in 0 - 4 range
86 ble set_finx |if 0 - 2, it is inexact
91 ble set_finx |if 0 - 2, it is inexact
96 ble set_finx |if 0 - 2, it is inexact
99 subil #0x30,%d0 |make offset in 0 - f range
107 ble set_finx |if 0 - 1, it is inexact
[all …]
H A Dround.S21 | round --- round result according to precision/mode
24 | d1(high word) contains rounding precision:
28 | d1(low word) contains rounding mode:
36 | a0 is preserved and the g-r-s bits in d0 are cleared.
37 | The result is not typed - the tag field is invalid. The
41 | inexact (i.e. if any of the g-r-s bits were set).
50 | :rounding precision and sets
51 | ;the appropriate g-r-s bits.
117 asll #1,%d0 |shift g-bit to c-bit
124 | ext_grs --- extract guard, round and sticky bits
[all …]
/OK3568_Linux_fs/kernel/Documentation/sound/designs/
H A Dtimestamping.rst7 - Trigger_tstamp is the system time snapshot taken when the .trigger
11 estimate with a delay. In the latter two cases, the low-level driver
17 - tstamp is the current system timestamp updated during the last
19 The difference (tstamp - trigger_tstamp) defines the elapsed time.
29 - ``avail`` reports how much can be written in the ring buffer
30 - ``delay`` reports the time it will take to hear a new sample after all
43 ascii-art, this could be represented as follows (for the playback
47 --------------------------------------------------------------> time
53 |< codec delay >|<--hw delay-->|<queued samples>|<---avail->|
54 |<----------------- delay---------------------->| |
[all …]
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/iio/frequency/
H A Dadf4350.txt4 - compatible: Should be one of
7 - reg: SPI chip select numbert for the device
8 - spi-max-frequency: Max SPI frequency to use (< 20000000)
9 - clocks: From common clock binding. Clock is phandle to clock for
13 - gpios: GPIO Lock detect - If set with a valid phandle and GPIO number,
15 - adi,channel-spacing: Channel spacing in Hz (influences MODULUS).
16 - adi,power-up-frequency: If set in Hz the PLL tunes to
18 - adi,reference-div-factor: If set the driver skips dynamic calculation
20 - adi,reference-doubler-enable: Enables reference doubler.
21 - adi,reference-div2-enable: Enables reference divider.
[all …]
/OK3568_Linux_fs/kernel/Documentation/userspace-api/media/v4l/
H A Dpixfmt-y16.rst1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later
3 .. _V4L2-PIX-FMT-Y16:
10 Grey-scale image
16 This is a grey-scale image with a depth of 16 bits per pixel. The least
17 significant byte is stored at lower memory addresses (little-endian).
21 The actual sampling precision may be lower than 16 bits, for
30 .. flat-table::
31 :header-rows: 0
32 :stub-columns: 0
34 * - start + 0:
[all …]
H A Dpixfmt-y16-be.rst1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later
3 .. _V4L2-PIX-FMT-Y16-BE:
10 Grey-scale image
16 This is a grey-scale image with a depth of 16 bits per pixel. The most
17 significant byte is stored at lower memory addresses (big-endian).
21 The actual sampling precision may be lower than 16 bits, for
30 .. flat-table::
31 :header-rows: 0
32 :stub-columns: 0
34 * - start + 0:
[all …]
/OK3568_Linux_fs/kernel/arch/arm/vfp/
H A Dvfp.h1 /* SPDX-License-Identifier: GPL-2.0-only */
13 val = val >> shift | ((val << (32 - shift)) != 0); in vfp_shiftright32jamming()
24 val = val >> shift | ((val << (64 - shift)) != 0); in vfp_shiftright64jamming()
128 z -= 0x100000000ULL; in vfp_estimate_div128to64()
147 * Single-precision
159 * VFP_SINGLE_MANTISSA_BITS - number of bits in the mantissa
160 * VFP_SINGLE_EXPONENT_BITS - number of bits in the exponent
161 * VFP_SINGLE_LOW_BITS - number of low bits in the unpacked significand
166 #define VFP_SINGLE_LOW_BITS (32 - VFP_SINGLE_MANTISSA_BITS - 2)
167 #define VFP_SINGLE_LOW_BITS_MASK ((1 << VFP_SINGLE_LOW_BITS) - 1)
[all …]
/OK3568_Linux_fs/u-boot/post/lib_powerpc/fpu/
H A Ddarwin-ldouble.c4 /* 128-bit long double support routines for Darwin.
10 * SPDX-License-Identifier: GPL-2.0+
14 * Implementations of floating-point long double basic arithmetic
18 * Double-double algorithms are based on the paper "Doubled-Precision
19 * IEEE Standard 754 Floating-Point Arithmetic" by W. Kahan, February 26,
21 * Doubled-Precision Floating-Point Computations", by Seppo Linnainmaa,
22 * ACM TOMS vol 7 no 3, September 1981, pages 272-283.
31 * -0.0. No other requirements are made; so, for example, 1.0 may be
32 * represented as (1.0, +0.0) or (1.0, -0.0), and the low part of a
33 * NaN is don't-care.
[all …]
/OK3568_Linux_fs/kernel/arch/m68k/math-emu/
H A Dfp_util.S23 * the restrictions contained in a BSD-style copyright.)
63 tst.l (TASK_MM-8,%a2)
65 tst.l (TASK_MM-4,%a2)
69 1: printf ,"oops:%p,%p,%p\n",3,%a2@(TASK_MM-8),%a2@(TASK_MM-4),%a2@(TASK_MM)
94 | args: %d0 = source (32-bit long)
98 printf PCONV,"l2e: %p -> %p(",2,%d0,%a0
125 | args: %d0 = source (single-precision fp value)
129 printf PCONV,"s2e: %p -> %p(",2,%d0,%a0
139 add.w #0x3fff-0x7f,%d1 | re-bias the exponent.
142 clr.l (%a0) | low lword = 0
[all …]
/OK3568_Linux_fs/kernel/drivers/hwmon/
H A Dshtc1.c1 // SPDX-License-Identifier: GPL-2.0-or-later
13 #include <linux/hwmon-sysfs.h>
19 /* commands (high precision mode) */
23 /* commands (low precision mode) */
41 /* delays for non-blocking i2c commands, both in us */
75 int ret = i2c_master_send(client, data->command, SHTC1_CMD_LENGTH); in shtc1_update_values()
77 dev_err(&client->dev, "failed to send command: %d\n", ret); in shtc1_update_values()
78 return ret < 0 ? ret : -EIO; in shtc1_update_values()
87 if (!data->setup.blocking_io) in shtc1_update_values()
88 usleep_range(data->nonblocking_wait_time, in shtc1_update_values()
[all …]
/OK3568_Linux_fs/kernel/Documentation/hwmon/
H A Dltc2947.rst1 Kernel drivers ltc2947-i2c and ltc2947-spi
10 Addresses scanned: -
14 https://www.analog.com/media/en/technical-documentation/data-sheets/LTC2947.pdf
21 The LTC2947 is a high precision power and energy monitor that measures current,
37 The following attributes are supported. Limits are read-write, reset_history
38 is write-only and all the other attributes are read-only.
41 in0_input VP-VM voltage (mV).
49 in0_label Channel label (VP-VM)
61 curr1_input IP-IM Sense current (mA)
69 curr1_label Channel label (IP-IM)
[all …]
/OK3568_Linux_fs/buildroot/dl/sox/git/src/
H A Ddither.c1 /* Effect: dither/noise-shape Copyright (c) 2008-9 robs@users.sourceforge.net
15 * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
26 #define RANQD1 ranqd1(p->ranqd1)
35 {"f-weighted", Shape_f_weighted},
36 {"modified-e-weighted", Shape_modified_e_weighted},
37 {"improved-e-weighted", Shape_improved_e_weighted},
40 {"low-shibata", Shape_low_shibata},
41 {"high-shibata", Shape_high_shibata},
53 static double const lip44[] = {2.033, -2.165, 1.959, -1.590, .6149};
55 2.412, -3.370, 3.937, -4.174, 3.353, -2.205, 1.281, -.569, .0847};
[all …]
/OK3568_Linux_fs/kernel/arch/parisc/math-emu/
H A Ddecode_exc.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Linux/PA-RISC Project (http://www.parisc-linux.org/)
5 * Floating-point emulation code
6 * Copyright (C) 2001 Hewlett-Packard (Paul Bame) <bame@debian.org>
47 #define copropbit 1<<31-2 /* bit position 2 */
51 #define twobits 3 /* mask low-order 2 bits */
52 #define fivebits 31 /* mask low-order 5 bits */
73 /* Single precision floating-point definitions */
75 # define Sgl_decrement(sgl_value) Sall(sgl_value)--
78 /* Double precision floating-point definitions */
[all …]
/OK3568_Linux_fs/kernel/arch/x86/math-emu/
H A DREADME1 +---------------------------------------------------------------------------+
2 | wm-FPU-emu an FPU emulator for 80386 and 80486SX microprocessors. |
6 | Australia. E-mail billm@melbpc.org.au |
21 +---------------------------------------------------------------------------+
25 wm-FPU-emu is an FPU emulator for Linux. It is derived from wm-emu387
27 msdos); wm-emu387 was in turn based upon emu387 which was written by
31 My target FPU for wm-FPU-emu is that described in the Intel486
40 wm-FPU-emu does not implement all of the behaviour of the 80486 FPU,
52 --Bill Metzenthen
56 ----------------------- Internals of wm-FPU-emu -----------------------
[all …]

12345678910>>...17