C. Naaktgeboren
C. Naaktgeboren
Dear Benoît, You have valid points. Indeed the 'julian' way of implementing cases like this is through the type system rather than the embedded `if`. I'll change the PR (Pull...
A workaround is to explicitly convert `uconvert`'s result: ```julia julia> using Unitful julia> dia = cbrt(1.0f0u"l") 1.0f0 L^1/3 julia> Float32(uconvert(Unitful.m, dia)) 0.1f0 m julia> typeof(ans) Quantity{Float32,𝐋,Unitful.FreeUnits{(m,),𝐋,nothing}} ```
I've found another, possibly related, issue with `uconvert` with `BigFloat` arguments: ```julia julia> THE = BigFloat("-50.1") * u"°" -50.09999999999999999999999999999999999999999999999999999999999999999999999999978° julia> uconvert(u"rad", THE) -0.8744099552491591032660211979532505210954695940017700195312499999999999999999983 rad julia> BigFloat("-50.1") * BigFloat(π) / 180...
In my humble opinion, both `hash` and `===` operate at bit level, and _should_ be able to detect _representation_ differences. The memory address in which a datum is stored is...
> Note that there is no special code for hashing in this package, as far as I can see, but `hash(::BigFloat)` follows a different code path Based on my previous...
I believe the underlying problem is a bit more general, as I'm experiencing a somewhat related issue. As the `:` character in file names is not supported on Windows systems...
I think I'm facing this (or a similar/related) issue. In my case, I'm using MEGA to sync between a home and an office computer: (i) a home desktop running the...