We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 890d3ef commit b4cc725Copy full SHA for b4cc725
src/type/parse.jl
@@ -7,8 +7,7 @@
7
end
8
9
macro df64_str(val::AbstractString)
10
- n = Double64(val)
11
- :(Double64($(n.hi), $(n.lo)))
+ Double64(val)
12
13
14
@inline function Double32(str::S) where {S<:AbstractString}
@@ -20,8 +19,7 @@ end
20
19
21
22
macro df32_str(val::AbstractString)
23
- n = Double32(val)
24
- :(Double32($(n.hi), $(n.lo)))
+ Double32(val)
25
26
27
@inline function Double16(str::S) where {S<:AbstractString}
@@ -33,8 +31,7 @@ end
33
31
34
32
35
macro df16_str(val::AbstractString)
36
- n = Double16(val)
37
- :(Double16($(n.hi), $(n.lo)))
+ Double16(val)
38
39
40
function tryparse(::Type{DoubleFloat{Float64}}, str::S; base::Int=10) where {S<:AbstractString}
0 commit comments