Skip to content

Commit

Permalink
add Fcmp64
Browse files Browse the repository at this point in the history
  • Loading branch information
thehowl authored and omarsy committed Nov 21, 2024
1 parent 9856ec0 commit 9a55489
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions gnovm/pkg/gnolang/internal/softfloat/softfloat.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ func Feq32(f, g uint32) bool { return feq32(f, g) }
func Fgt32(f, g uint32) bool { return fgt32(f, g) }
func Fge32(f, g uint32) bool { return fge32(f, g) }

func Fcmp64(f, g uint64) (cmp int32, isnan bool) { return fcmp64(f, g) }

func Fneg32(f uint32) uint32 {
// Not defined in runtime - this is a copy similar to fneg64.
return f ^ (1 << (mantbits32 + expbits32))
Expand Down

0 comments on commit 9a55489

Please sign in to comment.