Skip to content

Commit

Permalink
same
Browse files Browse the repository at this point in the history
  • Loading branch information
JeffreySarnoff authored Nov 13, 2018
1 parent 1581ce3 commit 16be340
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Double.jl
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ Convert `x` to an extended precision `Double64`.
hi = Float64(x)
lo = Float64(x - Float64(hi))
else
hi = x
hi = Float64(x)
lo = NaN
end
return Double64(hi, lo)
Expand All @@ -112,7 +112,7 @@ Convert `x` to an extended precision `Double32`.
hi = Float32(x)
lo = Float32(x - Float32(hi))
else
hi = x
hi = Float32(x)
lo = NaN32
end
return Double32(hi, lo)
Expand All @@ -128,7 +128,7 @@ Convert `x` to an extended precision `Double16`.
hi = Float16(x)
lo = Float16(x - Float16(hi))
else
hi = x
hi = Float16(x)
lo = NaN16
end
return Double16(hi, lo)
Expand Down

0 comments on commit 16be340

Please sign in to comment.