Skip to content

Commit

Permalink
libs: add isnan and frexp to the header
Browse files Browse the repository at this point in the history
  • Loading branch information
dennwc committed Jul 31, 2022
1 parent 55f2717 commit 98eb228
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions libs/math.go
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,8 @@ func init() {
buf.WriteString("float modff(float value, float *iptr);\n")
buf.WriteString("double ldexp(double x, _cxgo_go_int exp);\n")
buf.WriteString("double fmod(double x, double exp);\n")
buf.WriteString("int isnan(double x);\n")
buf.WriteString("double frexp(double x, int* exp);\n")
lib.Header = buf.String()
return lib
})
Expand Down

0 comments on commit 98eb228

Please sign in to comment.