C. Naaktgeboren
C. Naaktgeboren
The one-line change is believed to solve Issue #410. If preferred, the one-liner can be made into a full `if ... end` block. Let me know!
In trying to make an `Interval{BigFloat}` out of 0.1 ± √eps(0.1), the resulting interval width is actually eps(0.1): ```julia julia> FAV = BigFloat("0.1") 0.1000000000000000000000000000000000000000000000000000000000000000000000000000002 julia> EPS = √eps(FAV) 1.039000033391147479886700654141525447676787907933243563752171509196807550877029e-39 julia>...
Hashing has a different behavior for "bare" `BigFloat`'s and unit-ed `Quantity{BigFloat}`'s. For the former, `hash` is unaffected by `BigFloat`'s data address in memory, stored in its `d` field; while for...
In the following example, `uconvert` returns an object of different, `Float64`, precision from its `Float32`-based argument: ```julia julia> dia = cbrt(1.0f0u"l") 1.0f0 L^1/3 julia> typeof(dia) Quantity{Float32,𝐋,Unitful.FreeUnits{(L^1/3,),𝐋,nothing}} julia> typeof(uconvert(Unitful.m, dia)) Quantity{Float64,𝐋,Unitful.FreeUnits{(m,),𝐋,nothing}}...
Currently `Unitful.jl` parametric type definitions lack indication/restrictions of what the type parameters are expected to be, for instance, `src/types.jl` defines `Quantity{T,D,U}` as: ```julia struct Quantity{T,D,U} typeof(1u"m") Quantity{Int64,𝐋,Unitful.FreeUnits{(m,),𝐋,nothing}} julia> ptypes(x::Quantity{T,D,U}) where...
I noticed, in Julia 1.0.0, the following: ```julia julia> @show imε; imε = imɛ ``` The output produced by the `@show` macro uses 2 different characters for the epsilon: first,...