David P. Sanders
David P. Sanders
Great thanks! I woukd have chosen the names `doubleflat` and `doublesharp`, which is what they are called at least in the UK.
Agreed. This is in progress [here](https://github.com/dpsanders/MusicMakie.jl/blob/main/src/parts.jl). Despite the name of that package, it is really more like `MusicTypesetting.jl` with a Makie backend. Unfortunately I don't have much spare time to...
Possibly we need `ExactReal(1//8)` for the rational power.
This was implemented in a previous version. See https://github.com/JuliaIntervals/IntervalArithmetic.jl/pull/286/files
Ah, I see 🤦 Thank you! Is this documented?
I don't see any mechanism to get the current power mode? I need this so that I can save the current power mode before fixing it to run the IntervalContractor.jl...
Usage: ```jl julia> setdisplay(:full); julia> interval(8.673020346900622e8, 8.673020346900623e8)^(1//8) Interval{Float64}(13.099999999999998, 13.100000000000005, com, NG) julia> IntervalArithmetic.power_mode() = IntervalArithmetic.PowerMode{:slow}() julia> interval(8.673020346900622e8, 8.673020346900623e8)^(1//8) Interval{Float64}(13.099999999999998, 13.100000000000001, com, NG) ```
Ah, to get the current value you just do ``` julia> IntervalArithmetic.power_mode() IntervalArithmetic.PowerMode{:slow}() ``` !
When trying to change the power mode in the IntervalContractors.jl tests and then running `]test IntervalContractors`, I get the warning ``` WARNING: Method definition power_mode() in module Main at /Users/dsanders/Dropbox/packages/IntervalContractors/test/runtests.jl:9...
Sorry I meant that isapprox has not been explicitly disallowed - we haven't defined it (to error) for intervals. It's falling back to a generic definition in base as far...