go-randomx/softfloat/softfloat.go
DataHoarder 432590f930
All checks were successful
continuous-integration/drone/push Build is passing
Move argon2 / float packages to their own folders, cleanup vm Run
2024-04-15 04:14:15 +02:00

28 lines
604 B
Go

package softfloat
import (
_ "runtime"
_ "unsafe"
)
//go:linkname funpack64 runtime.funpack64
func funpack64(f uint64) (sign, mant uint64, exp int, inf, nan bool)
//go:linkname fpack64 runtime.fpack64
func fpack64(sign, mant uint64, exp int, trunc uint64) uint64
//go:linkname fadd64 runtime.fadd64
func fadd64(f, g uint64) uint64
//go:linkname fsub64 runtime.fsub64
func fsub64(f, g uint64) uint64
//go:linkname fneg64 runtime.fneg64
func fneg64(f uint64) uint64
//go:linkname fmul64 runtime.fmul64
func fmul64(f uint64) uint64
//go:linkname fdiv64 runtime.fdiv64
func fdiv64(f uint64) uint64