Marek Kaluba
Marek Kaluba
the bug is that ``` julia> Arblib.set_interval!(Arb(), Arf(-2.0), Arf(2.0)) [+/- 2.01] julia> Arblib.set_interval!(Arb(), Arf(1.0), Arf(2.0)) [+/- 2.01] julia> Arblib.string_decimal(Arblib.set_interval!(Arb(), Arf(1.0), Arf(2.0))) "1.5 +/- 0.5" julia> Arblib.string_decimal(Arblib.set_interval!(Arb(), Arf(-2.0), Arf(2.0))) "0 +/-...
thanks for the explanation @Joel-Dahne; I found it confusing, but it makes perfect sense after explanation; however: given that this requires an explanation should we switch to `string_decimal` for `show`?
I see, but given the problems with `string_nice` users should be discouraged from parsing the readable string representation of Arbs: ```julia julia> x = Arblib.set_interval!(Arb(), Arf(1.0), Arf(2.0)) [+/- 2.01] julia>...
The main difference is that Nemo is actually usable at this moment ;)
@oscardssmith I'm not sure about the semantics of the suggested `getindex_atomic`. One can write a completely generic ```julia function getindex_atomic(mem::GenericMemory, i::Int, order=default_access_order(mem)) memref = memoryref(mem, i, @_boundscheck) return memoryrefget(memref, i,...
@oscardssmith thanks for the clarification; Alongside `modifyindex_atomic!`, `swapindex_atomic!` and `replaceindex_atomic!` I've also implemented * `getindex_atomic(::GenericMemory, i, ...)` * `setindex_atomic!(::GenericMemory, i, ...)` and * `setindexonce_atomic!(::GenericMemory, i, ...)`. I added some converts...
the default orderings are the ones from the existing cases of `@atomic` macro.
@vtjnash could you have a look at the proposed changes? In particular the choices of orderings for the `@atomic` macro. Do we need even more tests? @oscardssmith what kind of...
@oscardssmith @vtjnash I've updated docstrings and added NEWS entry. Please let me know if something else needs to be done/changed (i.e. please review :). To me it seems ready to...
@vchuravy I was actually thinking about spinning this functionality into a small package for julia-1.11, but merging into Atomix.jl would be even better. My only hesitation is that this package...