| /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/contrib/libpcap/ |
| H A D | pcap-tstamp.manmisc.in | 22 .TH PCAP-TSTAMP @MAN_MISC_INFO@ "14 July 2020" 24 pcap-tstamp \- packet time stamps in libpcap 41 capture device and when the networking stack time-stamps the packet; 48 a high-resolution timer might use a counter that runs at a rate 58 different CPU cores on a multi-core or multi-processor system might be 60 synchronized, so packets time-stamped by different cores might not have 68 the fraction-of-a-second part of the time stamp might roll over past 76 In addition, packets time-stamped by different cores might be 77 time-stamped in one order and added to the queue of packets for libpcap 82 packets; those time stamps are usually high-resolution time stamps, and [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/share/man/man4/ |
| H A D | ow_temp.4 | 1 .\"- 2 .\" SPDX-License-Identifier: BSD-2-Clause 31 .Nd Dallas Semiconductor 1-Wire Temperature sensor 37 module supports many of the 1-Wire temperature sensors. 47 .Bl -column "DS18S20" "Econo 1-Wire Digital Thermometer" -compact 48 .It DS1820 Ta 1-Wire Digital Thermometer 49 .It DS18S20 Ta High-Precision 1-Wire Digital Thermometer 50 .It DS18B20 Ta Programmable Resolution 1-Wire Digital Thermometer 51 .It DS1822 Ta Econo 1-Wire Digital Thermometer 52 .It DS1825 Ta Programmable Resolution 1-Wire Digital Thermometer with 4-bit ID [all …]
|
| H A D | hpet.4 | 30 .Nd High Precision Event Timer driver 35 .Bd -ragged -offset indent 41 .Bl -ohang 57 .Bd -literal 63 controls how much per-CPU event timers should driver attempt to register. 69 This driver uses High Precision Event Timer hardware (part of the chipset, 81 Interrupt can be either edge- or level-triggered. 88 Event timers provided by the driver support both one-shot an periodic modes 92 comparator as separate event timer or group them into one or several per-CPU
|
| /freebsd/sys/contrib/device-tree/Bindings/hwmon/ |
| H A D | sensirion,shtc1.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 5 $schema: http://devicetree.org/meta-schema [all...] |
| H A D | adi,ltc2947.yaml | 1 # 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 …]
|
| /freebsd/contrib/ncurses/form/ |
| H A D | fty_num.c | 2 * Copyright 2019-2020,2021 Thomas E. Dickey * 3 * Copyright 1998-2010,2012 Free Software Foundation, Inc. * 45 #define isDecimalPoint(c) ((c) == ((L && L->decimal_point) ? *(L->decimal_point) : '.')) 60 int precision; member 62 double high; member 69 int precision; member 71 double high; member 75 /*--------------------------------------------------------------------------- 82 +--------------------------------------------------------------------------*/ 96 argn->precision = args->precision; in Generic_This_Type() [all …]
|
| H A D | fty_int.c | 3 * Copyright 1998-2010,2012 Free Software Foundation, Inc. * 50 int precision; member 52 long high; member 58 int precision; member 60 long high; member 64 /*--------------------------------------------------------------------------- 71 +--------------------------------------------------------------------------*/ 91 /*--------------------------------------------------------------------------- 98 +--------------------------------------------------------------------------*/ 104 arg.precision = va_arg(*ap, int); in Make_This_Type() [all …]
|
| /freebsd/lib/msun/src/ |
| H A D | s_cbrtf.c | 1 /* s_cbrtf.c -- float version of s_cbrt.c. 24 B1 = 709958130, /* B1 = (127-127.0/3-0.03306235651)*2**23 */ 25 B2 = 642849266; /* B2 = (127-127.0/3-24/3-0.03306235651)*2**23 */ 34 u_int32_t high; in cbrtf() local 44 return(x); /* cbrt(+-0) is itself */ in cbrtf() 47 GET_FLOAT_WORD(high,t); in cbrtf() 48 SET_FLOAT_WORD(t,sign|((high&0x7fffffff)/3+B2)); in cbrtf() 53 * First step Halley iteration (solving t*t-x/t == 0) to 16 bits. In in cbrtf() 54 * double precision so that its terms can be arranged for efficiency in cbrtf() 62 * Second step Halley iteration to 47 bits. In double precision for in cbrtf() [all …]
|
| H A D | math_private.h | 23 * n0 = ((*(int*)&one)>>29)^1; * index of high word * 24 * ix0 = *(n0+(int*)&x); * high word of x * 25 * ix1 = *((1-n0)+(int*)&x); * low word of x * 27 * value. That is non-ANSI, and, moreover, the gcc instruction 136 /* Get a 64-bit int from a double. */ 172 /* Set a double from a 64-bit int. */ 310 /* The above works on non-i386 too, but we use this to check v. */ 316 * Attempt to get strict C99 semantics for assignment with non-C99 compilers. 378 __s = __w - (a); \ 379 (b) = ((a) - (__w - __s)) + ((b) - __s); \ [all …]
|
| /freebsd/sys/net/ |
| H A D | sff8472.h | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 4 * Copyright (c) 2013 George V. Neville-Neil 33 * The following set of constants are from Document SFF-8472 43 * 0-95 Serial ID Defined by SFP MSA 44 * 96-127 Vendor Specific Data 45 * 128-255 Reserved 48 * 0-55 Alarm and Warning Thresholds 49 * 56-95 Cal Constants 50 * 96-119 Real Time Diagnostic Interface [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/share/doc/papers/timecounter/ |
| H A D | timecounter.ms | 5 .\" ---------------------------------------------------------------------------- 6 .\" "THE BEER-WARE LICENSE" (Revision 42): 9 .\" this stuff is worth it, you can buy me a beer in return. Poul-Henning Kamp 10 .\" ---------------------------------------------------------------------------- 16 .A "Poul-Henning Kamp" "The FreeBSD Project" 18 The FreeBSD timecounters are an architecture-independent implementation 21 multiplication to canonical timescales based on micro- or nano-seconds 23 synchronisation. Timecounters are implemented using lock-less 24 stable-storage based primitives which scale efficiently in SMP 71 can measure with the highest precision of all physical quantities. [all …]
|
| /freebsd/contrib/ntp/libparse/ |
| H A D | info_trimble.c | 2 * Automatically generated - do not modify 16 { CMD_CMODESEL, "CMD_CMODESEL", "mode select (2-d, 3-D, auto) (0x22)", "", 0 }, 24 { CMD_C2DALTITUDE, "CMD_C2DALTITUDE", "altitude for 2-D mode (0x2A)", "", 0 }, 33 { CMD_CSAT1SAT, "CMD_CSAT1SAT", "satellite for 1-Sat mode (0x34)", "", 0 }, 48 …{ CMD_CHIGH8CNT, "CMD_CHIGH8CNT", "high-8 (best 4) / high-6 (overdetermined) control (0x75)", "", … 59 …{ CMD_RSPOSXYZ, "CMD_RSPOSXYZ", "single precision XYZ position (0x42)", "gps_position(XYZ)", RO|DE… 65 { CMD_RMESSAGE, "CMD_RMESSAGE", "GPS system message (0x48)", "gps-message", RO|DEF }, 74 …{ CMD_RSAT1BIAS, "CMD_RSAT1BIAS", "one-satellite bias & bias rate (0x54)", "trimble_sat1bias", RO … 86 …{ CMD_RHIGH8CNT, "CMD_RHIGH8CNT", "high-8 (best 4) / high-6 (overdetermined) control (0x76)", "tri… 89 …{ CMD_RDOUBLEXYZ, "CMD_RDOUBLEXYZ", "double precision XYZ (0x83)", "gps_position_ext(XYZ)", RO|DEF… [all …]
|
| /freebsd/contrib/gdtoa/ |
| H A D | README | 1 This directory contains source for a library of binary -> decimal 2 and decimal -> binary conversion routines, for single-, double-, 3 and extended-precision IEEE binary floating-point arithmetic, and 4 other IEEE-like binary floating-point, including "double double", 7 T. J. Dekker, "A Floating-Point Technique for Extending the 8 Available Precision", Numer. Math. 18 (1971), pp. 224-242 12 "Inside Macintosh: PowerPC Numerics", Addison-Wesley, 1994 14 The conversion routines use double-precision floating-point arithmetic 15 and, where necessary, high precision integer arithmetic. The routines 18 David M. Gay, "Correctly Rounded Binary-Decimal and [all …]
|
| /freebsd/share/man/man4/man4.i386/ |
| H A D | CPU_ELAN.4 | 1 .\" Copyright (c) 2003 Poul-Henning Kamp <phk@FreeBSD.org> 35 .Bl -item -compact 48 .Pa /dev/elan-mmcr 74 .Ql - 78 (lower-case ell) configures a 85 device (active high). 112 enables precision timestamping using the RFC2783 PPS-API via the 113 .Pa /dev/elan-mmcr 116 and the precision \(+- 125 nsec. 132 (active high) to become a [all …]
|
| /freebsd/contrib/ntp/include/ |
| H A D | trimble.h | 2 * /src/NTP/ntp4-dev/include/trimble.h,v 4.6 2005/04/16 17:32:10 kardel RELEASE_20050508_A 8 * Copyright (c) 1998-2005 by Frank Kardel <kardel <AT> ntp.org> 39 * Trimble packet command codes - commands being sent/received 40 * keep comments formatted as shown - they are used to generate 48 #define CMD_CMODESEL 0x22 /* mode select (2-d, 3-D, auto) */ 56 #define CMD_C2DALTITUDE 0x2A /* altitude for 2-D mode */ 65 #define CMD_CSAT1SAT 0x34 /* satellite for 1-Sat mode */ 80 #define CMD_CHIGH8CNT 0x75 /* high-8 (best 4) / high-6 (overdetermined) control */ 87 #define CMD_RSPOSXYZ 0x42 /* single precision XYZ position:gps_position(XYZ):RO|DEF */ 93 #define CMD_RMESSAGE 0x48 /* GPS system message:gps-message:RO|DEF */ [all …]
|
| /freebsd/lib/libc/quad/ |
| H A D | muldi3.c | 1 /*- 2 * SPDX-License-Identifier: BSD-3-Clause 8 * at Lawrence Berkeley Laboratory under DARPA contract BG 91-66 and 60 * (2^n) (u1 v0 - u1 v1 + u0 v1 - u0 v0) + 65 * uv = (2^2n + 2^n) (u1 v1) + [u1v1 = high] 66 * (2^n) (u1 - u0) (v0 - v1) + [(u1-u0)... = mid] 69 * The terms (u1 v1), (u1 - u0) (v0 - v1), and (u0 v0) can all be done 70 * in just half the precision of the original. (Note that either or both 71 * of (u1 - u0) or (v0 - v1) may be negative.) 85 * (2^n)(high) + (2^n)(mid) + (2^n + 1)(low) [all …]
|
| /freebsd/sys/libkern/arm/ |
| H A D | muldi3.c | 3 /*- 4 * SPDX-License-Identifier: BSD-3-Clause 10 * at Lawrence Berkeley Laboratory under DARPA contract BG 91-66 and 62 * (2^n) (u1 v0 - u1 v1 + u0 v1 - u0 v0) + 67 * uv = (2^2n + 2^n) (u1 v1) + [u1v1 = high] 68 * (2^n) (u1 - u0) (v0 - v1) + [(u1-u0)... = mid] 71 * The terms (u1 v1), (u1 - u0) (v0 - v1), and (u0 v0) can all be done 72 * in just half the precision of the original. (Note that either or both 73 * of (u1 - u0) or (v0 - v1) may be negative.) 87 * (2^n)(high) + (2^n)(mid) + (2^n + 1)(low) [all …]
|
| /freebsd/sys/contrib/device-tree/Bindings/ptp/ |
| H A D | ptp-qoriq.txt | 5 - compatible Should be "fsl,etsec-ptp" for eTSEC 6 Should be "fsl,fman-ptp-timer" for DPAA FMan 7 Should be "fsl,dpaa2-ptp" for DPAA2 8 Should be "fsl,enetc-ptp" for ENETC 9 - reg Offset and length of the register set for the device 10 - interrupts There should be at least two interrupts. Some devices 15 - fsl,cksel Timer reference clock source. 16 - fsl,tclk-period Timer reference clock period in nanoseconds. 17 - fsl,tmr-prsc Prescaler, divides the output clock. 18 - fsl,tmr-add Frequency compensation value. [all …]
|
| /freebsd/sys/contrib/device-tree/Bindings/regulator/ |
| H A D | microchip,mcp16502.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: MCP16502 - High-Performance PMIC 10 - Andrei Simion <andrei.simion@microchip.com> 16 of High-Performance mode (HPM). 22 lpm-gpios: 25 Note that this GPIO must remain high during 26 suspend-to-ram, keeping the PMIC into HIBERNATE mode. 31 lvin-supply: [all …]
|
| /freebsd/contrib/llvm-project/compiler-rt/lib/builtins/ppc/ |
| H A D | floatunditf.c | 3 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 6 // This file implements the PowerPC unsigned long long -> long double conversion 18 doublebits high = {.d = twop84}; in __floatunditf() local 21 high.x |= a >> 32; // 0x1.0p84 + high 32 bits of a in __floatunditf() 24 const double high_addend = high.d - twop84_plus_twop52; in __floatunditf() 26 // At this point, we have two double precision numbers in __floatunditf() 36 result.s.lo = (high_addend - result.s.hi) + low.d; in __floatunditf()
|
| /freebsd/sys/contrib/device-tree/Bindings/leds/ |
| H A D | leds-lp8860.txt | 1 * Texas Instruments - lp8860 4-Channel LED Driver 3 The LP8860-Q1 is an high-efficiency LED 4 driver with boost controller. It has 4 high-precision 9 - compatible : 11 - reg : I2C slave address 12 - #address-cells : 1 13 - #size-cells : 0 16 - enable-gpios : gpio pin to enable (active high)/disable the device. 17 - vled-supply : LED supply 20 - reg : 0 [all …]
|