Skip to content

Commit 2fdd9dc

Browse files
committed
and more...
1 parent 6be4feb commit 2fdd9dc

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/DecFP.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -372,7 +372,7 @@ for w in (32,64,128)
372372
@eval Base.$f(x::$BID) = ccall(($(bidsym(w,c)), libbid), Cint, ($BID,), x) != 0
373373
end
374374

375-
for (f,c) in ((:+,"add"), (:-,"sub"), (:*,"mul"), (:/, "div"), (:hypot,"hypot"), (VERSION >= v"0.7.0-alpha+44" ? :atan : :atan2,"atan2"), (:^,"pow"), (:copysign,"copySign"))
375+
for (f,c) in ((:+,"add"), (:-,"sub"), (:*,"mul"), (:/, "div"), (:hypot,"hypot"), (VERSION >= v"0.7.0-alpha.44" ? :atan : :atan2,"atan2"), (:^,"pow"), (:copysign,"copySign"))
376376
@eval Base.$f(x::$BID, y::$BID) = nox(ccall(($(bidsym(w,c)), libbid), $BID, ($BID,$BID), x, y))
377377
end
378378

test/runtests.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ for T in (Dec32, Dec64, Dec128)
135135
@test f(xd,yd) == f(x,y)
136136
end
137137

138-
for f in (/,hypot,VERSION >= v"0.7.0-alpha+44"?atan2:atan,^)
138+
for f in (/,hypot,VERSION >= v"0.7.0-alpha.44"?atan2:atan,^)
139139
@test f(xd,yd) f(x,y)
140140
if f != ^
141141
@test f(yd,xd) f(y,x)

0 commit comments

Comments
 (0)