Skip to content

Commit edaba3c

Browse files
authored
Merge pull request #17 from milankl/show
Base.show instead of just show
2 parents 0015d0f + 5152cf9 commit edaba3c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/float8.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ for func in (:atan,:hypot)
140140
end
141141
end
142142

143-
function show(io::IO,x::Float8)
143+
function Base.show(io::IO,x::Float8)
144144
if isnan(x)
145145
print(io,"NaN8")
146146
elseif isinf(x)
@@ -157,7 +157,7 @@ function show(io::IO,x::Float8)
157157
end
158158
end
159159

160-
function show(io::IO,x::Float8_4)
160+
function Base.show(io::IO,x::Float8_4)
161161
if isnan(x)
162162
print(io,"NaN8_4")
163163
elseif isinf(x)

0 commit comments

Comments
 (0)