Skip to content

Commit 6e5f40d

Browse files
authored
Use openlibm everywhere explicitly. (#55)
This is in preparation for JuliaLang/julia#42299 where most of the pkgeval failures will be resolved with NaNMath being updated.
1 parent c42ecde commit 6e5f40d

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

Project.toml

+2-1
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,10 @@ name = "NaNMath"
22
uuid = "77ba4419-2d1f-58cd-9bb1-8ffee604a2e3"
33
repo = "https://github.com/mlubin/NaNMath.jl.git"
44
authors = ["Miles Lubin"]
5-
version = "1.0.0"
5+
version = "1.0.1"
66

77
[deps]
8+
OpenLibm_jll = "05823500-19ac-5b8b-9628-191a04bc5112"
89

910
[compat]
1011
julia = "1.6"

src/NaNMath.jl

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
module NaNMath
22

3-
const libm = Base.libm_name
3+
using OpenLibm_jll
4+
const libm = OpenLibm_jll.libopenlibm
45

56
for f in (:sin, :cos, :tan, :asin, :acos, :acosh, :atanh, :log, :log2, :log10,
67
:lgamma, :log1p)

0 commit comments

Comments
 (0)