Open jiahao opened 8 years ago
Unicode has no superscript decimal character. Instead, it is faked using U+FF65, HALFWIDTH KATAKANA MIDDLE DOT.
Also, improves error handling in superscript()
superscript()
throw
DomainError
error()
Example of usage:
julia> SIUnits.SIQuantity{Float64,zeros(8)...,0.4}(1.0) 1.0 sr⁰・⁴
Unicode has no superscript decimal character. Instead, it is faked using U+FF65, HALFWIDTH KATAKANA MIDDLE DOT.
Also, improves error handling in
superscript()
throw
sDomainError
rather than a genericerror()
Example of usage: