const math.bias
21 uses
math (current package)
bits.go#L14: bias = 1023
floor.go#L76: if e < bias {
floor.go#L79: if e == bias-1 {
floor.go#L82: } else if e < bias+shift {
floor.go#L88: e -= bias
floor.go#L114: if e >= bias {
floor.go#L120: e -= bias
floor.go#L123: } else if e == bias-1 && bits&fracMask != 0 {
fma.go#L116: pe := xe + ye - bias + 1
fma.go#L158: if pe > 1022+bias || pe == 1022+bias && (m+1<<9)>>63 == 1 {
frexp.go#L28: exp += int((x>>shift)&mask) - bias + 1
frexp.go#L30: x |= (-1 + bias) << shift
ldexp.go#L27: exp += int(x>>shift)&mask - bias
ldexp.go#L43: x |= uint64(exp+bias) << shift
logb.go#L49: return int((Float64bits(x)>>shift)&mask) - bias + exp
modf.go#L28: e := uint(x>>shift)&mask - bias
sqrt.go#L117: exp -= bias // unbias exponent
sqrt.go#L142: ix = q>>1 + uint64(exp-1+bias)<trig_reduce.go#L37: exp := int(ix>>shift&mask) - bias - shift
trig_reduce.go#L58: e := uint64(bias - (lz + 1))
![]() |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |