Home
last modified time | relevance | path

Searched full:fractional (Results 1 – 25 of 256) sorted by relevance

1234567891011

/freebsd/share/man/man3/
H A Dqmath.377 The fractional component is truncated to fit into the destination,
144 .Ss Functions which manipulate the combined integer/fractional data bits
146 .Xr Q_IFRAWMASK 3 integer/fractional bitmask
148 .Xr Q_IFVALFMASK 3 value of fractional bits
149 .Xr Q_GIFRAW 3 raw integer/fractional bits
150 .Xr Q_GIFABSVAL 3 absolute value of fractional bits
151 .Xr Q_GIFVAL 3 real value of fractional bits
152 .Xr Q_SIFVAL 3 set integer/fractional bits
153 .Xr Q_SIFVALS 3 set separate integer/fractional values
163 .Ss Functions which manipulate the fractional data bits
[all …]
H A DQ_IFRAWMASK.338 .Nd fixed-point math functions which manipulate the combined integer/fractional
64 combined integer and fractional data bits.
71 bit masks for the integer and fractional bits of
73 combined integer and fractional data bits value, i.e., are applicable to the
82 raw masked integer/fractional data bits.
89 integer/fractional data bits respectively.
94 combined integer/fractional data bits to the value
100 integer and fractional data bits to the separate values
H A DQ_INI.386 and decimal fractional value
105 count of total, control-encoded fractional, maximum fractional, effective
106 fractional, and integer bits applicable to
152 and fractional precision
164 as -1 renders the number's fractional component with maximum precision.
191 converts decimal fractional value
198 The returned value can be used to set a Q number's fractional bits, for example
239 returns the binary-encoded representation of decimal fractional value
H A DQ_FRAWMASK.335 .Nd fixed-point math functions which manipulate the fractional data bits
54 fractional data bits.
59 raw masked fractional data bits.
66 fractional data bits respectively.
71 fractional data bits to the value
H A DQ_SIGNED.395 fractional bits is the same,
117 The integral and fractional values are used to perform the comparison, without
118 explicit concern for the underlying number of integer versus fractional bits.
144 has an additional 4 bits of fractional precision compared to
H A DQ_QADDQ.373 Both arguments must be initialized with the same fractional radix point.
110 verbatim integer/fractional bits.
113 integer and fractional bits, representing them in the bits available per
/freebsd/contrib/llvm-project/llvm/lib/TargetParser/
H A DRISCVTargetParser.cpp194 bool Fractional; in printVType() local
195 std::tie(LMul, Fractional) = decodeVLMUL(getVLMUL(VType)); in printVType()
197 if (Fractional) in printVType()
216 bool Fractional; in getSEWLMULRatio() local
217 std::tie(LMul, Fractional) = decodeVLMUL(VLMul); in getSEWLMULRatio()
219 // Convert LMul to a fixed point value with 3 fractional bits. in getSEWLMULRatio()
220 LMul = Fractional ? (8 / LMul) : (LMul * 8); in getSEWLMULRatio()
230 bool Fractional = EMULFixedPoint < 8; in getSameRatioLMUL() local
231 unsigned EMUL = Fractional ? 8 / EMULFixedPoint : EMULFixedPoint / 8; in getSameRatioLMUL()
232 if (!isValidLMUL(EMUL, Fractional)) in getSameRatioLMUL()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/TargetParser/
H A DRISCVTargetParser.h77 inline static bool isValidLMUL(unsigned LMUL, bool Fractional) { in isValidLMUL() argument
78 return isPowerOf2_32(LMUL) && LMUL <= 8 && (!Fractional || LMUL != 1); in isValidLMUL()
89 // Decode VLMUL into 1,2,4,8 and fractional indicator.
92 inline static RISCVII::VLMUL encodeLMUL(unsigned LMUL, bool Fractional) { in encodeLMUL() argument
93 assert(isValidLMUL(LMUL, Fractional) && "Unsupported LMUL"); in encodeLMUL()
95 return static_cast<RISCVII::VLMUL>(Fractional ? 8 - LmulLog2 : LmulLog2); in encodeLMUL()
/freebsd/sys/sys/
H A Dqmath.h76 /* Number of control-encoded bits reserved for fractional component data. */
80 /* Min/max number of bits that can be reserved for fractional component data. */
85 * Number of bits actually reserved for fractional component data. This can be
88 * available bits are reserved for fractional component data i.e. zero int bits.
114 /* Manipulate the 'q' bits holding combined integer/fractional data. */
146 /* Manipulate the 'q' bits holding fractional data. */
195 /* Yield the next char from fractional bits. */
201 * base, and truncate residual fractional bits post multiplication. \
276 /* Calculate the relative fractional precision between 'a' and 'b' in bits. */
287 * Convert decimal fractional value 'dfv' to its binary-encoded representation
[all …]
/freebsd/contrib/ntp/libntp/
H A Drefidsmear.c12 * and 22 fractional bits.
26 temp.l_uf = (r << 10); /* 22 fractional bits */ in convertRefIDToLFP()
49 /* combine integral and fractional part to 24 bits */ in convertLFPToRefID()
/freebsd/lib/libc/gen/
H A Dmodf.339 .Nd extract signed integral and fractional values from floating-point number
58 into integral and fractional parts, each of which has the
65 These functions return the signed fractional part of
/freebsd/contrib/llvm-project/llvm/lib/Support/
H A DChrono.cpp72 static void format(const T &Fractional, struct tm &LT, raw_ostream &OS, in format()
83 "%.3lu", (long)duration_cast<milliseconds>(Fractional).count()); in format()
88 "%.6lu", (long)duration_cast<microseconds>(Fractional).count()); in format()
93 "%.9lu", (long)duration_cast<nanoseconds>(Fractional).count());
114 auto Fractional = T - Truncated;
116 llvm::format(Fractional, LT, OS, Style);
123 auto Fractional = T - Truncated;
125 llvm::format(Fractional, LT, OS, Style);
57 auto Fractional = T - Truncated; format() local
/freebsd/crypto/openssl/test/
H A Dx509_time_test.c71 /* fractional seconds, check only */
83 /* fractional seconds, set string */
203 /* Fractional seconds. */
207 /* Fractional seconds, UTCTime. */
494 /* Generalized Time, fractional seconds (3 digits) */
497 /* Generalized Time, fractional seconds (1 digit) */
500 /* Generalized Time, fractional seconds (0 digit) */
521 /* Generalized Time, fractional seconds (3 digits) */
524 /* Generalized Time, fractional seconds (1 digit) */
527 /* Generalized Time, fractional seconds (0 digit) */
/freebsd/sys/contrib/device-tree/Bindings/input/touchscreen/
H A Dazoteq,iqs7211.yaml232 description: Specifies the trackpad's ATI fine fractional divider.
238 description: Specifies the trackpad's ATI coarse fractional multiplier.
244 description: Specifies the trackpad's ATI coarse fractional divider.
388 description: Specifies the ALP's ATI fine fractional divider.
394 description: Specifies the ALP's ATI coarse fractional multiplier.
400 description: Specifies the ALP's ATI coarse fractional divider.
480 description: Specifies the button's ATI fine fractional divider.
486 description: Specifies the button's ATI coarse fractional multiplier.
492 description: Specifies the button's ATI coarse fractional divider.
H A Dstmpe.txt31 - st,fraction-z : Length of the fractional part in z (recommended is 7)
32 (fraction-z ([0..7]) = Count of the fractional part)
96 /* 7 length fractional part in z */
/freebsd/sys/contrib/device-tree/Bindings/clock/
H A Dapple,nco.yaml15 fractional division of a high frequency input clock.
32 are derived through fractional division.
/freebsd/sys/contrib/device-tree/Bindings/iio/light/
H A Dus5182d.txt15 fractional bits - Q4.4) applied when light > threshold
18 fractional bits - Q4.4) applied when light < threshold
H A Dupisemi,us5182.yaml36 8-bit dark gain compensation factor(4 int and 4 fractional bits - Q4.4)
43 8-bit dark gain compensation factor(4 int and 4 fractional bits - Q4.4)
/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A DTargetInfo.h112 // If true, unsigned fixed point types have the same number of fractional bits
115 // one more fractional bit than its corresponding signed type. This is false
119 // Fixed point integral and fractional bit sizes
120 // Saturated types share the same integral/fractional bits as their
122 // For simplicity, the fractional bits in a _Fract type will be one less the
433 /// In the event this target uses the same number of fractional bits for its
571 /// getShortAccumScale/IBits - Return the number of fractional/integral bits
578 /// getAccumScale/IBits - Return the number of fractional/integral bits
583 /// getLongAccumScale/IBits - Return the number of fractional/integral bits
591 /// fractional/integral bits in a 'unsigned short _Accum' type.
[all …]
/freebsd/contrib/llvm-project/compiler-rt/lib/builtins/ppc/
H A Dfixunstfti.c103 // whole number if the absolute value of its fractional part is bigger than in __fixunstfti()
104 // the fractional part of the high double. Because both doubles cannot in __fixunstfti()
106 // fractional part. in __fixunstfti()
/freebsd/contrib/ntp/include/
H A Dtimetoa.h65 * general fractional time stamp formatting.
68 * frac - fractional units
H A Dtimepps-Solaris.h86 d_temp = (x).fractional * PPS_FRAC / PPS_NANOSECOND; \
89 (x).fractional = (unsigned int)d_temp; \
137 unsigned int fractional; member
199 #define NTPFP_L_ADDS(r, a) NTPFP_M_ADD((r)->integral, (r)->fractional, \
200 (int)(a)->integral, (a)->fractional)
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DMachineBlockFrequencyInfo.cpp40 "fractional block frequency representation."),
43 "integer fractional block frequency representation."),
56 "fractional block frequency representation."),
59 "integer fractional block frequency representation."),
/freebsd/contrib/llvm-project/compiler-rt/lib/scudo/standalone/
H A Dcommon.h120 uptr *Fractional) { in computePercentage() argument
124 *Fractional = 0; in computePercentage()
129 *Fractional = in computePercentage()
/freebsd/contrib/llvm-project/clang/lib/Basic/
H A DTargetInfo.cpp86 // Fixed point default integral and fractional bit sizes in TargetInfo()
87 // We give the _Accum 1 fewer fractional bits than their corresponding _Fract in TargetInfo()
88 // types by default to have the same number of fractional bits between _Accum in TargetInfo()
515 // Each unsigned fixed point type has the same number of fractional bits as in adjust()
944 // Check that the number of fractional and integral bits (and maybe sign) can in CheckFixedPointBits()
962 // Each unsigned fract type has either the same number of fractional bits in CheckFixedPointBits()
963 // as, or one more fractional bit than, its corresponding signed fract type. in CheckFixedPointBits()
972 // fractional bits is nondecreasing for each of the following sets of in CheckFixedPointBits()

1234567891011