Software implementation of binary 64-bit floating-point in pure Golang
Find a file
2024-04-17 05:27:50 +02:00
add.go Initial commit, working add/sub 2024-04-16 12:50:51 +02:00
add_test.go Initial commit, working add/sub 2024-04-16 12:50:51 +02:00
div.go Implemented Sqrt 2024-04-17 05:27:11 +02:00
div_test.go Added division 2024-04-16 20:05:25 +02:00
go.mod Dep on Go 1.21 2024-04-17 05:27:50 +02:00
int.go Integer conversion to float 2024-04-16 20:05:36 +02:00
internals.go Implemented Sqrt 2024-04-17 05:27:11 +02:00
LICENSE Initial commit, working add/sub 2024-04-16 12:50:51 +02:00
mul.go Implemented Sqrt 2024-04-17 05:27:11 +02:00
mul_test.go Added multiply 2024-04-16 16:12:44 +02:00
nan.go Implemented Sqrt 2024-04-17 05:27:11 +02:00
README.md Implemented Sqrt 2024-04-17 05:27:11 +02:00
round.go fix round towards zero, cleanup 2024-04-16 20:50:13 +02:00
sqrt.go Implemented Sqrt 2024-04-17 05:27:11 +02:00
sqrt_test.go Implemented Sqrt 2024-04-17 05:27:11 +02:00
sub.go Initial commit, working add/sub 2024-04-16 12:50:51 +02:00
sub_test.go Initial commit, working add/sub 2024-04-16 12:50:51 +02:00

softfloat64

Software implementation of binary 64-bit floating-point. Based in ucb-bar/berkeley-softfloat-3, ported to pure Golang.

This is not a comprehensive implementation, only the required operations on RandomX have been implemented (plus subnormals / NaN / Inf handling). If you would like any other operations added, change requests will be reviewed regularly.