|
51 | 51 | return fma(x.hi, x.lo, y.hi, y.lo, z) |
52 | 52 | end |
53 | 53 |
|
54 | | -@inline function fma(x::DoubleFloat{T}, y::DoubleFloat{T}, z::Tuple{T,T}) where {T<:IEEEFloat} |
55 | | - return fma(x.hi, x.lo, y.hi, y.lo, z[1], z[2]) |
56 | | -end |
57 | | -@inline function fma(x::DoubleFloat{T}, y::Tuple{T,T}, z::DoubleFloat{T}) where {T<:IEEEFloat} |
58 | | - return fma(x.hi, x.lo, y[1], y[2], z.hi, z.lo) |
59 | | -end |
60 | | -@inline function fma(x::Tuple{T,T}, y::DoubleFloat{T}, z::DoubleFloat{T}) where {T<:IEEEFloat} |
61 | | - return fma(x[1], x[2], y.hi, y.lo, z.hi, z.lo) |
62 | | -end |
63 | | -@inline function fma(x::DoubleFloat{T}, y::Tuple{T,T}, z::Tuple{T,T}) where {T<:IEEEFloat} |
64 | | - return fma(x.hi, x.lo, y[1], y[2], z[1], z[2]) |
65 | | -end |
66 | | -@inline function fma(x::Tuple{T,T}, y::Tuple{T,T}, z::DoubleFloat{T}) where {T<:IEEEFloat} |
67 | | - return fma(x[1], x[2], y[1], y[2], z.hi, z.lo) |
68 | | -end |
69 | | -@inline function fma(x::Tuple{T,T}, y::DoubleFloat{T}, z::Tuple{T,T}) where {T<:IEEEFloat} |
70 | | - return fma(x[1], x[2], y.hi, y.lo, z[1], z[2]) |
71 | | -end |
72 | | -@inline function fma(x::Tuple{T,T}, y::Tuple{T,T}, z::Tuple{T,T}) where {T<:IEEEFloat} |
73 | | - return fma(x[1], x[2], y[1], y[2], z[1], z[2]) |
74 | | -end |
75 | | - |
76 | 54 | @inline function muladd(x::DoubleFloat{T}, y::DoubleFloat{T}, z::DoubleFloat{T}) where {T<:IEEEFloat} |
77 | 55 | return fma(x, y, z) |
78 | 56 | end |
|
0 commit comments