Skip to content

Commit

Permalink
add Fcmp64
Browse files Browse the repository at this point in the history
  • Loading branch information
thehowl committed Oct 2, 2024
1 parent bb0beb5 commit aa07dce
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) }

Check warning on line 37 in gnovm/pkg/gnolang/internal/softfloat/softfloat.go

View check run for this annotation

Codecov / codecov/patch

gnovm/pkg/gnolang/internal/softfloat/softfloat.go#L31-L37

Added lines #L31 - L37 were not covered by tests

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

func Fneg32(f uint32) uint32 {

Check warning on line 41 in gnovm/pkg/gnolang/internal/softfloat/softfloat.go

View check run for this annotation

Codecov / codecov/patch

gnovm/pkg/gnolang/internal/softfloat/softfloat.go#L41

Added line #L41 was not covered by tests
// Not defined in runtime - this is a copy similar to fneg64.
return f ^ (1 << (mantbits32 + expbits32))

Check warning on line 43 in gnovm/pkg/gnolang/internal/softfloat/softfloat.go

View check run for this annotation

Codecov / codecov/patch

gnovm/pkg/gnolang/internal/softfloat/softfloat.go#L43

Added line #L43 was not covered by tests
Expand Down

0 comments on commit aa07dce

Please sign in to comment.