/prebuilts/go/darwin-x86/src/math/big/ |
arith.go | 20 _W = _S << 3 // word size in bits 21 _B = 1 << _W // digit base 24 _W2 = _W / 2 // half word size in bits 34 // z1<<_W + z0 = x+y+c, with c == 0 or 1 44 // z1<<_W + z0 = x-y-c, with c == 0 or 1 54 // z1<<_W + z0 = x*y 71 // z1<<_W + z0 = x*y + c 112 return uint(_W - bitLen(x)) 117 switch _W { 130 // q = (u1<<_W + u0 - r)/ [all...] |
arith_test.go | 137 b.SetBytes(int64(n * _W)) 171 {nat{_M << 20 & _M}, nat{_M}, 20, _M >> (_W - 20)}, 175 {nat{_M << 20 & _M, _M, _M}, nat{_M, _M, _M}, 20, _M >> (_W - 20)}, 185 {nat{_M >> 1}, nat{_M}, 1, _M << (_W - 1) & _M}, 186 {nat{_M >> 20}, nat{_M}, 20, _M << (_W - 20) & _M}, 189 {nat{_M, _M, _M >> 1}, nat{_M, _M, _M}, 1, _M << (_W - 1) & _M}, 190 {nat{_M, _M, _M >> 20}, nat{_M, _M, _M}, 20, _M << (_W - 20) & _M}, 283 {nat{_M << 1 & _M}, nat{_M}, 1 << 1, 0, _M >> (_W - 1)}, 284 {nat{_M<<1&_M + 1}, nat{_M}, 1 << 1, 1, _M >> (_W - 1)}, 285 {nat{_M << 7 & _M}, nat{_M}, 1 << 7, 0, _M >> (_W - 7)} [all...] |
nat_test.go | 211 for i := 0; i <= _W; i++ { 230 {nat{1 << (_W - 1)}, 1, nat{0}}, 231 {nat{1 << (_W - 1), 0}, 1, nat{0, 1}}, 253 {nat{0, 1}, 1, nat{1 << (_W - 1)}}, 254 {nat{2, 1, 1}, 1, nat{1<<(_W-1) + 1, 1 << (_W - 1)}}, 298 if _W >= 32 { 301 if _W >= 64 { 313 for i := uint(0); i < _W; i++ { 316 t.Errorf("got trailingZeroBits(%#x) = %d; want %d", x, n, i%_W) [all...] |
nat.go | 77 for t := x; t > 0; t >>= _W { 85 x >>= _W 202 // montgomery computes z mod m = x*y*2**(-n*_W) mod m, 203 // assuming k = -1/m mod 2**_W. 209 // x and y are required to satisfy 0 <= z < 2**(n*_W) and then the result 210 // z is guaranteed to satisfy 0 <= z < 2**(n*_W), but it may not be < m. 367 // addAt implements z += x<<(_W*i); z must be long enough. 432 // b = 1<<(_W*k) ("base" of digits xi, yi) 656 return i*_W + bitLen(x[i]) 689 switch _W { [all...] |
floatmarsh.go | 30 n = int((x.prec + (_W - 1)) / _W) // required mantissa length in words for given precision
|
float.go | 100 // trailing 0 bits or x.prec is not a multiple of the the Word size _W, 212 return uint(len(x.mant))*_W - x.mant.trailingZeroBits() 364 const msb = 1 << (_W - 1) 395 bits := m * _W // present mantissa bits; bits > 0 424 n := (z.prec + (_W - 1)) / _W // mantissa length in words for desired precision 431 ntz := n*_W - z.prec // 0 <= ntz < _W 475 const msb = 1 << (_W - 1) 683 if debugFloat && x[i]&(1<<(_W-1)) == 0 [all...] |
decimal.go | 41 // A Word has _W bits and (1<<maxShift - 1)*10 + 9 must fit into Word. 42 const maxShift = _W - 4
|
natconv.go | 268 nbits := uint(_W) // number of unprocessed bits in w 284 nbits = _W 293 nbits = _W - (shift - nbits)
|
floatconv.go | 85 exp2 := int64(len(z.mant))*_W - fnorm(z.mant)
|
int_test.go | 467 u := &Int{false, nat{0, 0, 1 + 1<<(_W-1), _M ^ (1 << (_W - 1))}} 468 v := &Int{false, nat{5, 2 + 1<<(_W-1), 1 << (_W - 1)}} [all...] |
/prebuilts/go/linux-x86/src/math/big/ |
arith.go | 20 _W = _S << 3 // word size in bits 21 _B = 1 << _W // digit base 24 _W2 = _W / 2 // half word size in bits 34 // z1<<_W + z0 = x+y+c, with c == 0 or 1 44 // z1<<_W + z0 = x-y-c, with c == 0 or 1 54 // z1<<_W + z0 = x*y 71 // z1<<_W + z0 = x*y + c 112 return uint(_W - bitLen(x)) 117 switch _W { 130 // q = (u1<<_W + u0 - r)/ [all...] |
arith_test.go | 137 b.SetBytes(int64(n * _W)) 171 {nat{_M << 20 & _M}, nat{_M}, 20, _M >> (_W - 20)}, 175 {nat{_M << 20 & _M, _M, _M}, nat{_M, _M, _M}, 20, _M >> (_W - 20)}, 185 {nat{_M >> 1}, nat{_M}, 1, _M << (_W - 1) & _M}, 186 {nat{_M >> 20}, nat{_M}, 20, _M << (_W - 20) & _M}, 189 {nat{_M, _M, _M >> 1}, nat{_M, _M, _M}, 1, _M << (_W - 1) & _M}, 190 {nat{_M, _M, _M >> 20}, nat{_M, _M, _M}, 20, _M << (_W - 20) & _M}, 283 {nat{_M << 1 & _M}, nat{_M}, 1 << 1, 0, _M >> (_W - 1)}, 284 {nat{_M<<1&_M + 1}, nat{_M}, 1 << 1, 1, _M >> (_W - 1)}, 285 {nat{_M << 7 & _M}, nat{_M}, 1 << 7, 0, _M >> (_W - 7)} [all...] |
nat_test.go | 211 for i := 0; i <= _W; i++ { 230 {nat{1 << (_W - 1)}, 1, nat{0}}, 231 {nat{1 << (_W - 1), 0}, 1, nat{0, 1}}, 253 {nat{0, 1}, 1, nat{1 << (_W - 1)}}, 254 {nat{2, 1, 1}, 1, nat{1<<(_W-1) + 1, 1 << (_W - 1)}}, 298 if _W >= 32 { 301 if _W >= 64 { 313 for i := uint(0); i < _W; i++ { 316 t.Errorf("got trailingZeroBits(%#x) = %d; want %d", x, n, i%_W) [all...] |
nat.go | 77 for t := x; t > 0; t >>= _W { 85 x >>= _W 202 // montgomery computes z mod m = x*y*2**(-n*_W) mod m, 203 // assuming k = -1/m mod 2**_W. 209 // x and y are required to satisfy 0 <= z < 2**(n*_W) and then the result 210 // z is guaranteed to satisfy 0 <= z < 2**(n*_W), but it may not be < m. 367 // addAt implements z += x<<(_W*i); z must be long enough. 432 // b = 1<<(_W*k) ("base" of digits xi, yi) 656 return i*_W + bitLen(x[i]) 689 switch _W { [all...] |
floatmarsh.go | 30 n = int((x.prec + (_W - 1)) / _W) // required mantissa length in words for given precision
|
float.go | 100 // trailing 0 bits or x.prec is not a multiple of the the Word size _W, 212 return uint(len(x.mant))*_W - x.mant.trailingZeroBits() 364 const msb = 1 << (_W - 1) 395 bits := m * _W // present mantissa bits; bits > 0 424 n := (z.prec + (_W - 1)) / _W // mantissa length in words for desired precision 431 ntz := n*_W - z.prec // 0 <= ntz < _W 475 const msb = 1 << (_W - 1) 683 if debugFloat && x[i]&(1<<(_W-1)) == 0 [all...] |
decimal.go | 41 // A Word has _W bits and (1<<maxShift - 1)*10 + 9 must fit into Word. 42 const maxShift = _W - 4
|
natconv.go | 268 nbits := uint(_W) // number of unprocessed bits in w 284 nbits = _W 293 nbits = _W - (shift - nbits)
|
floatconv.go | 85 exp2 := int64(len(z.mant))*_W - fnorm(z.mant)
|
/external/libcxx/test/support/ |
nasty_macros.hpp | 35 #define _W NASTY_MACRO
|
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/ |
_mingw_unicode.h | 14 # define __MINGW_NAME_UAW(func) func##_W
|
/prebuilts/ndk/r13/sources/cxx-stl/llvm-libc++/test/support/ |
nasty_macros.hpp | 35 #define _W NASTY_MACRO
|
/external/wpa_supplicant_8/src/tls/ |
libtommath.c | [all...] |
/device/linaro/bootloader/edk2/ArmPkg/Library/ArmDisassemblerLib/ |
ArmDisassembler.c | 79 #define WRITE(_W) ((_W) ? "!" : "")
|
/external/mesa3d/src/gallium/state_trackers/nine/ |
nine_ff.c | 184 #define _W(r) ureg_scalar(ureg_src(r), TGSI_SWIZZLE_W) 458 ureg_RCP(ureg, ureg_writemask(tmp, TGSI_WRITEMASK_W), _W(tmp)); 460 ureg_MUL(ureg, ureg_writemask(tmp, TGSI_WRITEMASK_XYZ), ureg_src(tmp), _W(tmp)); 527 ureg_MAD(ureg, oPos, _W(aVtx_dst), _CONST(11), ureg_src(tmp)); [all...] |