Home
last modified time | relevance | path

Searched full:scale (Results 1 – 25 of 1030) sorted by relevance

12345678910>>...42

/freebsd-src/contrib/bc/tests/bc/
H A Dscale.txt1 scale(0)
2 scale(1)
3 scale(12)
4 scale(123)
5 scale(1234)
6 scale(12345)
7 scale(123456)
8 scale(1234567)
9 scale(12345678)
10 scale(123456789)
[all …]
H A Dmultiply.txt46 scale = 0; 237854962 * -26
47 scale = 20; -989840367 * -604515309.000000000000000000000000000934882580147931989975995184020932681…
48 scale = 20; 623151276.1106104320046667401793737969130124845763706302869482103753909 * -605483272.00…
49 scale = 20; -4036255151 * -107387984.00000000000000000000000000000000000002111703188196071295060794…
50 scale = 19; 207225741.422284845290215111137445727462936392828872808516127361319675 * -1915632919.00…
51 scale = 4; -3700694776.0000000000000000000000000118760035148795036674648901732540974684491143245552…
52 scale = 4; 2471252773 * -2993804686
53 scale = 5; -4136888605.1006664686088985948377077150956015758460597074849621165317181 * -356481995.8…
54 scale = 10; -1226031704.000000000000000000000000000001604564576253363548680043729535457438899040946…
55 scale = 19; 1916023355.0000000000000000000000000000000000059079504119182402793056702704705747102402…
[all …]
H A Dmisc1.txt10 scale = 0
15 scale
29 scale(238.1)
34 (scale)
47 (scale(238.1))
48 (scale = 0)
71 ++scale
72 --scale
/freebsd-src/contrib/bc/tests/bc/scripts/
H A Datan.txt1 scale = 1
4 scale = 2
7 scale = 3
10 scale = 4
13 scale = 5
16 scale = 6
19 scale = 7
22 scale = 8
25 scale = 9
28 scale = 10
[all …]
/freebsd-src/usr.bin/bc/
H A Dbc.library
/freebsd-src/contrib/bc/gen/
H A Dlib2.bc38 if(y==0)return 1@scale
44 if(y==a)return(x^a)@scale
56 s=scale
57 scale+=length(i)+5
63 scale=s
64 return i@scale
73 if(p<scale(x)&&x-t>=5>>p+1)t+=1>>p
108 s=scale
109 scale=0
111 scale
[all...]
H A Dlib.bc44 s=scale
46 scale=scale(x)+1
50 scale+=1
52 scale=r
63 scale=s
70 if(x<=0)return((1-A^scale)/1)
73 s=scale
74 scale+=6
93 scale
[all...]
/freebsd-src/contrib/arm-optimized-routines/math/aarch64/
H A Dv_powf.c
/freebsd-src/contrib/llvm-project/clang/lib/Headers/
H A Davx512pfintrin.h
/freebsd-src/usr.bin/dc/
H A Dbcode.c
H A Ddc.1
H A Dmem.c
/freebsd-src/contrib/llvm-project/llvm/include/llvm/Support/
H A DScaledNumber.h11 // another represents a scale. The functions are helpers and live in the
35 /// Maximum scale; same as APFloat for easy debug printing.
38 /// Maximum scale; same as APFloat for easy debug printing.
46 /// Given \c Digits and \c Scale, round up iff \c ShouldRound is \c true.
47 /// Always returns \c Scale unless there's an overflow, in which case it
48 /// returns \c 1+Scale.
50 /// \pre adding 1 to \c Scale will not overflow INT16_MAX.
52 inline std::pair<DigitsT, int16_t> getRounded(DigitsT Digits, int16_t Scale, in getRounded() argument
59 return std::make_pair(DigitsT(1) << (getWidth<DigitsT>() - 1), Scale + 1); in getRounded()
60 return std::make_pair(Digits, Scale); in getRounded()
[all …]
/freebsd-src/contrib/bc/include/
H A Dnum.h122 /// bits less than scale. It is also used less than scale. See the
126 /// The actual scale of the number. This is different from rdx because there
128 /// digits may be part of the scale. However, scale must always match rdx
131 size_t scale; member
194 * Returns true if the BcNum @a n is one with no scale.
196 * @return True if @a n equals 1 with no scale, false otherwise.
214 * Rounds @a s (scale) up to the next power of BC_BASE_DIGS. This will also
217 * @param s The scale t
842 bc_num_inv(a,b,scale) global() argument
[all...]
/freebsd-src/contrib/arm-optimized-routines/math/
H A Dexp2.c26 is scale*(1+TMP) without intermediate rounding. The bit representation of
27 scale is in SBITS, however it has a computed exponent that may have
30 adjustment of scale, positive k here means the result may overflow and
35 double_t scale, y; in specialcase()
39 /* k > 0, the exponent of scale might have overflowed by 1. */ in specialcase()
41 scale = asdouble (sbits); in specialcase()
42 y = 2 * (scale + scale * tmp); in specialcase()
47 scale = asdouble (sbits); in specialcase()
48 y = scale in specialcase()
33 double_t scale, y; specialcase() local
81 double_t kd, r, r2, scale, tail, tmp; exp2() local
[all...]
H A Dexp.c28 is scale*(1+TMP) without intermediate rounding. The bit representation of
29 scale is in SBITS, however it has a computed exponent that may have
32 adjustment of scale, positive k here means the result may overflow and
37 double_t scale, y; in specialcase()
41 /* k > 0, the exponent of scale might have overflowed by <= 460. */ in specialcase()
43 scale = asdouble (sbits); in specialcase()
44 y = 0x1p1009 * (scale + scale * tmp); in specialcase()
49 scale = asdouble (sbits); in specialcase()
50 y = scale in specialcase()
35 double_t scale, y; specialcase() local
85 double_t kd, z, r, r2, scale, tail, tmp; exp_inline() local
[all...]
/freebsd-src/share/doc/usd/05.dc/
H A Ddc274 a scale factor
277 The scale factor must be greater than or equal to zero and
279 If \fBk\fP is capitalized, the value of the scale factor
330 where the scale has been italicized to emphasize the fact that it
334 scale factor
399 from the main stack and their scale factors stripped off.
402 For example, if the scale of the operands is different and decimal
405 scale.
407 the proper scale factor is appended to the end of the number before
410 A register called \fBscale\fP plays a part
[all …]
/freebsd-src/contrib/arm-optimized-routines/pl/math/
H A Dexp.c
H A Dsv_erff_2u.c
H A Dfinite_pow.h
H A Derff_2u.c
/freebsd-src/share/doc/usd/06.bc/
H A Dbc287 A third special internal quantity called `scale' is
288 used to determine the scale of calculated
294 a number as its scale.
298 The original implementation allowed for a maximum scale of 99.
302 has a scale determined by the following rules. For
303 addition and subtraction, the scale of the result is the larger
306 For multiplications, the scale of the result is never
310 the scale of the result is set equal to the contents of the internal
311 quantity `scale'.
312 The scale of a quotient is the contents of the internal
[all …]
/freebsd-src/contrib/bc/src/
H A Dnum.c55 bc_num_m(BcNum* a, BcNum* b, BcNum* restrict c, size_t scale);
129 * Set a number to 0 with the specified scale.
131 * @param scale The scale to set the number to.
134 bc_num_setToZero(BcNum* restrict n, size_t scale) in bc_num_setToZero() argument
137 n->scale = scale; in bc_num_setToZero()
219 * by to put its digits in the right place. For example, if the scale only
222 * @param scale The scale
611 bc_num_retireMul(BcNum * restrict n,size_t scale,bool neg1,bool neg2) bc_num_retireMul() argument
861 size_t places_rdx, scale, scale_mod, int_len, expand; bc_num_shiftRight() local
1432 bc_num_m(BcNum * a,BcNum * b,BcNum * restrict c,size_t scale) bc_num_m() argument
1644 bc_num_d_long(BcNum * restrict a,BcNum * restrict b,BcNum * restrict c,size_t scale) bc_num_d_long() argument
1829 bc_num_d(BcNum * a,BcNum * b,BcNum * restrict c,size_t scale) bc_num_d() argument
1943 bc_num_r(BcNum * a,BcNum * b,BcNum * restrict c,BcNum * restrict d,size_t scale,size_t ts) bc_num_r() argument
2008 bc_num_rem(BcNum * a,BcNum * b,BcNum * restrict c,size_t scale) bc_num_rem() argument
2044 bc_num_p(BcNum * a,BcNum * b,BcNum * restrict c,size_t scale) bc_num_p() argument
2166 bc_num_place(BcNum * a,BcNum * b,BcNum * restrict c,size_t scale) bc_num_place() argument
2183 bc_num_left(BcNum * a,BcNum * b,BcNum * restrict c,size_t scale) bc_num_left() argument
2198 bc_num_right(BcNum * a,BcNum * b,BcNum * restrict c,size_t scale) bc_num_right() argument
2231 bc_num_binary(BcNum * a,BcNum * b,BcNum * c,size_t scale,BcNumBinOp op,size_t req) bc_num_binary() argument
3471 size_t zero, scale; bc_num_len() local
3935 bc_num_addReq(const BcNum * a,const BcNum * b,size_t scale) bc_num_addReq() argument
3959 bc_num_mulReq(const BcNum * a,const BcNum * b,size_t scale) bc_num_mulReq() argument
3976 bc_num_divReq(const BcNum * a,const BcNum * b,size_t scale) bc_num_divReq() argument
3993 bc_num_powReq(const BcNum * a,const BcNum * b,size_t scale) bc_num_powReq() argument
4001 bc_num_placesReq(const BcNum * a,const BcNum * b,size_t scale) bc_num_placesReq() argument
4009 bc_num_add(BcNum * a,BcNum * b,BcNum * c,size_t scale) bc_num_add() argument
4017 bc_num_sub(BcNum * a,BcNum * b,BcNum * c,size_t scale) bc_num_sub() argument
4025 bc_num_mul(BcNum * a,BcNum * b,BcNum * c,size_t scale) bc_num_mul() argument
4033 bc_num_div(BcNum * a,BcNum * b,BcNum * c,size_t scale) bc_num_div() argument
4041 bc_num_mod(BcNum * a,BcNum * b,BcNum * c,size_t scale) bc_num_mod() argument
4049 bc_num_pow(BcNum * a,BcNum * b,BcNum * c,size_t scale) bc_num_pow() argument
4058 bc_num_places(BcNum * a,BcNum * b,BcNum * c,size_t scale) bc_num_places() argument
4066 bc_num_lshift(BcNum * a,BcNum * b,BcNum * c,size_t scale) bc_num_lshift() argument
4074 bc_num_rshift(BcNum * a,BcNum * b,BcNum * c,size_t scale) bc_num_rshift() argument
4083 bc_num_sqrt(BcNum * restrict a,BcNum * restrict b,size_t scale) bc_num_sqrt() argument
4237 bc_num_divmod(BcNum * a,BcNum * b,BcNum * c,BcNum * d,size_t scale) bc_num_divmod() argument
4440 ulong i, scale = n->scale; bc_num_dump() local
[all...]
/freebsd-src/contrib/llvm-project/llvm/lib/Target/M68k/
H A DM68kInstrFormats.td21 /// 10 M68000 (d8,An,Xn.L) f address register indirect with index and scale
22 /// 07 M68000 (d8,An,Xn.W) F address register indirect with index and scale
23 /// 12 M68020 (d8,An,Xn.L,SCALE) g address register indirect with index
24 /// 11 M68020 (d8,An,Xn.W,SCALE) G address register indirect with index
25 /// 14 M68020 ([bd,An],Xn.L,SCALE,od) u memory indirect postindexed mode
26 /// 13 M68020 ([bd,An],Xn.W,SCALE,od) U memory indirect postindexed mode
27 /// 16 M68020 ([bd,An,Xn.L,SCALE],od) v memory indirect preindexed mode
28 /// 15 M68020 ([bd,An,Xn.W,SCALE],od) V memory indirect preindexed mode
32 /// 23 M68000 (d8,PC,Xn.L) k program counter with index and scale = 1
33 /// 22 M68000 (d8,PC,Xn.W) K program counter with index and scale = 1
[all …]
/freebsd-src/contrib/bc/tests/bc/errors/
H A D01.txt238 scale ==se-=a(1)
239 scale = 20
243 scale = 20
247 scale = 20
250 scale = 20
263 scale = 20
267 scale = 20
270 scale ==se-=a(1)
271 scale = 20
278 scale = 20
[all …]

12345678910>>...42