Source File
fma.go
Belonging Package
math
switch {
case == 0:
return ,
case == 64:
return 0, | nonzero()
case >= 128:
return 0, nonzero( | )
case < 64:
, = shr(, , )
|= nonzero( & (1<< - 1))
case < 128:
, = shr(, , )
|= nonzero(&(1<<(-64)-1) | )
}
return
}
func (, uint64) ( int32) {
= int32(bits.LeadingZeros64())
if == 64 {
+= int32(bits.LeadingZeros64())
}
return
}
:= uint(bits.LeadingZeros64() - 11)
<<=
= 1 - int32()
|= 1 << 52
}
return
}
func (, , float64) float64 {
, , := Float64bits(), Float64bits(), Float64bits()
:= + - bias + 1
if < || ( == && ( < || ( == && < ))) {
, , , , , , , = , , , , , , ,
}
, = shrcompress(, , uint(-))
var , uint64
![]() |
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. |