/freebsd/lib/msun/src/ |
H A D | e_rem_pio2.c | 29 * pio2_1t: pi/2 - pio2_1 31 * pio2_2t: pi/2 - (pio2_1+pio2_2) 33 * pio2_3t: pi/2 - (pio2_1+pio2_2+pio2_3) 39 invpio2 = 6.36619772367581382433e-01, /* 0x3FE45F30, 0x6DC9C883 */ 41 pio2_1t = 6.07710050650619224932e-11, /* 0x3DD0B461, 0x1A626331 */ 42 pio2_2 = 6.07710050630396597660e-11, /* 0x3DD0B461, 0x1A600000 */ 43 pio2_2t = 2.02226624879595063154e-21, /* 0x3BA3198A, 0x2E037073 */ 44 pio2_3 = 2.02226624871116645580e-21, /* 0x3BA3198A, 0x2E000000 */ 45 pio2_3t = 8.47842766036889956997e-32; /* 0x397B839A, 0x252049C1 */ 53 double z, in __ieee754_rem_pio2() local 131 u_int32_t high; __ieee754_rem_pio2() local [all...] |
H A D | e_jn.c | 18 * y0(0)=y1(0)=yn(n,0) = -inf with division by zero signal; 19 * y0(-ve)=y1(-ve)=yn(n,-ve) are NaN with invalid signal. 26 * j(n,x)/j(n-1,x) is evaluated and then backward 43 invsqrtpi= 5.64189583547756279280e-01, /* 0x3FE20DD7, 0x50429B6D */ 54 double z, w; in jn() local 56 /* J(-n,x) = (-1)^n * J(n, x), J(n, -x) = (-1)^n * J(n, x) in jn() 57 * Thus, J(-n,x) = J(n,-x) in jn() 62 if((ix|((u_int32_t)(lx|-lx))>>31)>0x7ff00000) return x+x; in jn() 64 n = -n; in jn() 65 x = -x; in jn() [all …]
|
/freebsd/lib/libc/softfloat/ |
H A D | softfloat-specialize | 1 /* $NetBSD: softfloat-specialize,v 1.6 2011/03/06 10:27:37 martin Exp $ */ 8 This C source fragment is part of the SoftFloat IEC/IEEE Floating-point 14 National Science Foundation under grant MIP-9311980. The original version 15 of this code was written as part of a project to build a fixed-point vector 40 ------------------------------------------------------------------------------- 41 Underflow tininess-detection mode, statically initialized to default value. 43 ------------------------------------------------------------------------------- 55 ------------------------------------------------------------------------------- 56 Raises the exceptions specified by `flags'. Floating-point traps can be 60 ------------------------------------------------------------------------------- [all …]
|
/freebsd/lib/libc/softfloat/templates/ |
H A D | softfloat-specialize | 5 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 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 46 ------------------------------------------------------------------------------- 56 ------------------------------------------------------------------------------- [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/sound/ |
H A D | tlv320adcx140.yaml | 1 # SPDX-License-Identifier: (GPL-2.0+ OR BSD-2-Clause) 4 --- 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 8 title: Texas Instruments TLV320ADCX140 Quad Channel Analog-t [all...] |
H A D | ti,tlv320adcx140.yaml | 1 # SPDX-License-Identifier: (GPL-2.0+ OR BSD-2-Clause) 4 --- 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 8 title: Texas Instruments TLV320ADCX140 Quad Channel Analog-to-Digital Converter 11 - Andrew Davis <afd@ti.com> 14 The TLV320ADCX140 are multichannel (4-ch analog recording or 8-ch digital 15 PDM microphones recording), high-performance audio, analog-to-digital 28 - ti,tlv320adc3140 29 - ti,tlv320adc5140 30 - ti,tlv320adc6140 [all …]
|
H A D | cirrus,cs35l41.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - david.rhodes@cirrus.com 19 - cirrus,cs35l40 20 - cirrus,cs35l41 28 '#sound-dai-cells': 33 reset-gpios: 36 VA-supply: 39 VP-supply: [all …]
|
H A D | cirrus,cs35l45.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Ricardo Rivera-Matos <rriveram@opensource.cirrus.com> 11 - Richard Fitzgerald <rf@opensource.cirrus.com> 18 - $ref: dai-common.yaml# 23 - cirrus,cs35l45 31 '#sound-dai-cells': 34 reset-gpios: 37 vdd-a-supply: [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/iio/adc/ |
H A D | adi,ad4000.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Marcelo Schmitt <marcelo.schmitt@analog.com> 15 https://www.analog.com/media/en/technical-documentation/data-sheets/ad4000-4004-4008.pdf 16 https://www.analog.com/media/en/technical-documentation/data-sheets/ad4001-4005.pdf 17 https://www.analog.com/media/en/technical-documentation/data-sheets/ad4002-4006-4010.pdf 18 https://www.analog.com/media/en/technical-documentation/data-sheets/ad4003-4007-4011.pdf 19 https://www.analog.com/media/en/technical-documentation/data-sheets/ad4020-4021-4022.pdf 20 https://www.analog.com/media/en/technical-documentation/data-sheets/adaq4001.pdf [all …]
|
H A D | adi,ad4695.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Michael Hennerich <Michael.Hennerich@analog.com> 11 - Nuno Sá <nuno.sa@analog.com> 14 A family of similar multi-channel analog to digital converters with SPI bus. 21 $ref: /schemas/spi/spi-peripheral-props.yaml# 26 - adi,ad4695 27 - adi,ad4696 28 - adi,ad4697 [all …]
|
/freebsd/lib/libc/softfloat/bits64/ |
H A D | softfloat.c | 4 * This version hacked for use with gcc -msoft-float by bjh21. 12 * SOFTFLOAT_FOR_GCC - build only those functions necessary for GCC (with 13 * -msoft-float) to work. Include "softfloat-for-gcc.h" to get them 20 This C source file is part of the SoftFloat IEC/IEEE Floating-point 26 National Science Foundation under grant MIP-9311980. The original version 27 of this code was written as part of a project to build a fixed-point vector 48 #include "softfloat-for-gcc.h" 66 ------------------------------------------------------------------------------- 67 Floating-point rounding mode, extended double-precision rounding precision, 69 ------------------------------------------------------------------------------- [all …]
|
/freebsd/lib/libc/locale/ |
H A D | collate.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 53 #include "un-namespace.h" 73 {{0}, "C.UTF-8"}, 1, 0, 0, 0 83 if (table->map && (table->maplen > 0)) { in destruct_collate() 84 (void) munmap(table->map, table->maplen); in destruct_collate() 96 else if (strcmp(encoding, "C.UTF-8") == 0) in __collate_load() 103 table->header.header.destructor = destruct_collate; in __collate_load() 129 int i, chains, z; in __collate_load_tables_l() local 137 table->__collate_load_error = 1; in __collate_load_tables_l() [all …]
|
/freebsd/sys/contrib/device-tree/src/arm/aspeed/ |
H A D | aspeed-bmc-lenovo-hr630.dts | 1 // SPDX-License-Identifier: GPL-2.0+ 5 * Copyright (C) 2019-present Lenovo 8 /dts-v1/; 10 #include "aspeed-g5.dtsi" 11 #include <dt-bindings/gpio/aspeed-gpio.h> 15 compatible = "lenovo,hr630-bmc", "aspeed,ast2500"; 29 stdout-pat [all...] |
/freebsd/lib/msun/bsdsrc/ |
H A D | b_tgamma.c | 1 /*- 2 * SPDX-License-Identifier: BSD-3-Clause 41 * The algorithm remains, but the code has been re-arranged to facilitate 65 * xleft > x > iota: smaller_gam(x) where iota = 1e-17. 66 * iota > x > -itoa: Handle x near 0. 67 * -iota > x : neg_gam 70 * -Inf: return NaN and raise invalid; 72 * other x ~< 177.79: return +-0 and raise underflow; 73 * +-0: return +-Inf and raise divide-by-zero; 87 * (Accurate to 2.8*10^-19 absolute) [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/NVPTX/ |
H A D | NVVMIntrRange.cpp | 1 //===- NVVMIntrRange.cpp - Set range attributes for NVVM intrinsics -------===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 12 //===----------------------------------------------------------------------===// 27 #define DEBUG_TYPE "nvvm-intr-range" 47 INITIALIZE_PASS(NVVMIntrRange, "nvvm-intr-range", 50 // Adds the passed-in [Low,High) range information as metadata to the 51 // passed-in call instruction. 52 static bool addRangeAttr(uint64_t Low, uint64_t High, IntrinsicInst *II) { in addRangeAttr() argument 53 if (II->getMetadata(LLVMContext::MD_range)) in addRangeAttr() [all …]
|
/freebsd/lib/msun/ld80/ |
H A D | b_tgammal.c | 1 /*- 2 * SPDX-License-Identifier: BSD-3-Clause 72 static const volatile double tiny = 1e-300; 77 * equal-ripples: 79 * log(G(x)) ~= (x-0.5)*(log(x)-1) + 0.5(log(2*pi)-1) + 1/x*P(1/(x*x)) 81 * Keep extra precision in multiplying (x-.5)(log(x)-1), to avoid 82 * premature round-off. 84 * Accurate to max(ulp(1/128) absolute, 2^-66 relative) error. 88 * The following is a decomposition of 0.5 * (log(2*pi) - 1) into the 93 ln2pi_hiu = LD80C(0xd680000000000000, -2, 4.18945312500000000000e-01L), [all …]
|
/freebsd/contrib/bearssl/src/int/ |
H A D | i15_muladd.c | 28 * Constant-time division. The divisor must not be larger than 16 bits, 39 for (i = 16; i >= 0; i --) { in divrem16() 44 x -= (-ctl) & d; in divrem16() 55 br_i15_muladd_small(uint16_t *x, uint16_t z, const uint16_t *m) in br_i15_muladd_small() argument 58 * Constant-time: we accept to leak the exact bit length of the in br_i15_muladd_small() 76 divrem16(((uint32_t)x[1] << 15) | z, m[1], &rem); in br_i15_muladd_small() 84 * Principle: we estimate the quotient (x*2^15+z)/m by in br_i15_muladd_small() 85 * doing a 30/15 division with the high words. in br_i15_muladd_small() 99 * b0, we ensured that b0 is "full" (high bit set), and a is in br_i15_muladd_small() 107 * u-2 <= q <= u in br_i15_muladd_small() [all …]
|
H A D | i31_muladd.c | 29 br_i31_muladd_small(uint32_t *x, uint32_t z, const uint32_t *m) in br_i31_muladd_small() argument 50 lo = (x[1] << 31) | z; in br_i31_muladd_small() 58 * Principle: we estimate the quotient (x*2^31+z)/m by in br_i31_muladd_small() 59 * doing a 64/32 division with the high words. in br_i31_muladd_small() 73 * b0, we ensured that b0 is "full" (high bit set), and a is in br_i31_muladd_small() 81 * u-2 <= q <= u in br_i31_muladd_small() 86 memmove(x + 2, x + 1, (mlen - 1) * sizeof *x); in br_i31_muladd_small() 87 x[1] = z; in br_i31_muladd_small() 91 a0 = ((x[mlen] << (31 - mblr)) | (x[mlen - 1] >> mblr)) in br_i31_muladd_small() 93 memmove(x + 2, x + 1, (mlen - 1) * sizeof *x); in br_i31_muladd_small() [all …]
|
H A D | i32_muladd.c | 29 br_i32_muladd_small(uint32_t *x, uint32_t z, const uint32_t *m) in br_i32_muladd_small() argument 46 x[1] = br_rem(x[1], z, m[1]); in br_i32_muladd_small() 52 * Principle: we estimate the quotient (x*2^32+z)/m by in br_i32_muladd_small() 53 * doing a 64/32 division with the high words. in br_i32_muladd_small() 67 * b0, we ensured that b0 is "full" (high bit set), and a is in br_i32_muladd_small() 75 * u-2 <= q <= u in br_i32_muladd_small() 77 a0 = br_i32_word(x, m_bitlen - 32); in br_i32_muladd_small() 79 memmove(x + 2, x + 1, (mlen - 1) * sizeof *x); in br_i32_muladd_small() 80 x[1] = z; in br_i32_muladd_small() 81 a1 = br_i32_word(x, m_bitlen - 32); in br_i32_muladd_small() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/ |
H A D | SystemZMachineFunctionInfo.h | 1 //=== SystemZMachineFunctionInfo.h - SystemZ machine function info -*- C++ -*-// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===- 64 setSpillGPRRegs(Register Low,Register High,unsigned Offs) setSpillGPRRegs() argument 74 setRestoreGPRRegs(Register Low,Register High,unsigned Offs) setRestoreGPRRegs() argument [all...] |
/freebsd/crypto/openssl/crypto/ec/ |
H A D | ecp_nistp256.c | 2 * Copyright 2011-2021 The OpenSSL Project Authors. All Rights Reserved. 17 * http://www.apache.org/licenses/LICENSE-2.0 33 * A 64-bit implementation of the NIST P-256 elliptic curve point multiplication 50 # error "Your compiler doesn't appear to support 128-bit integer types" 58 * The underlying field. P256 operates over GF(2^256-2^224+2^192+2^96-1). We 66 * These are the parameters of P256, taken from FIPS 186-3, page 86. These 67 * values are big-endian. 74 {0xff, 0xff, 0xff, 0xff, 0x00, 0x00, 0x00, 0x01, /* a = -3 */ 92 /*- 94 * ------------------------------------ [all …]
|
/freebsd/crypto/libecc/include/libecc/hash/ |
H A D | sha2.h | 2 * Copyright (C) 2017 - This file is part of libecc project 7 * Jean-Pierre FLORI <jean-pierre.flori@ssi.gouv.fr> 21 /* Useful primitives for handling 128-bit */ 23 /* Add a 128-bit to a 64-bit element and store the result 26 #define ADD_UINT128_UINT64(low,high,toadd) do {\ argument 29 (high)++;\ 33 /* Store a 128-bit element in big endian format */ 34 #define PUT_UINT128_BE(low,high,b,i) do {\ argument 35 PUT_UINT64_BE((high), (b), (i));\ 39 /* Multiply a 128-bit element by 8 and store it in big endian [all …]
|
/freebsd/lib/libc/softfloat/bits32/ |
H A D | softfloat.c | 4 * This version hacked for use with gcc -msoft-float by bjh21. 12 * SOFTFLOAT_FOR_GCC - build only those functions necessary for GCC (with 13 * -msoft-float) to work. Include "softfloat-for-gcc.h" to get them 19 * is defined to be a 64-bit integer rather than a structure. The 27 This C source file is part of the SoftFloat IEC/IEEE Floating-Point 33 National Science Foundation under grant MIP-9311980. The original version 34 of this code was written as part of a project to build a fixed-point vector 55 #include "softfloat-for-gcc.h" 73 ------------------------------------------------------------------------------- 74 Floating-point rounding mode and exception flags. [all …]
|
/freebsd/usr.bin/mkuzip/ |
H A D | mkuzip.8 | 1 .\"- 2 .\" Copyright (c) 2004-2016 Maxim Sobolev <sobomax@FreeBSD.org> 48 class will be able to decompress the resulting image at run-time. 56 .Bl -enum 69 .Bl -tag -width indent 86 In the very high compression 88 settings, it does not offer quite as high a compression ratio as 90 However, its decompression speed does not suffer at high compression 105 .Va 0-9 . 114 .Va 1-9 . [all …]
|
/freebsd/contrib/llvm-project/clang/include/clang/Basic/ |
H A D | LangStandards.def | 1 //===-- LangStandards.def - Language Standard Data --------------*- C++ -*-===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 15 /// \param IDENT - The name of the standard as a C++ identifier. 16 /// \param NAME - The name of the standard. 17 /// \param LANG - The Language for which this is a standard. 18 /// \param DESC - A short description of the standard. 19 /// \param FEATURES - The standard features as flags, these are enums from the 23 /// \param IDENT - The name of the standard as a C++ identifier. 24 /// \param ALIAS - The alias of the standard. [all …]
|