Marek Kaluba
Marek Kaluba
I actually like the idea! how about just using `@debug` macro? This is silent by definition unless an [`ENV` flag is set](https://docs.julialang.org/en/v1/stdlib/Logging/#Environment-variables) Example: ```julia function Base.convert(::Type{Arb}, x::Union{Float16, Float32, Float64}) @debug...
Setter for `Float64`s is defined in `src/arbcalls` so we'd need to comment it out and add to setters. I think the better and safest solution is to just overload `Arb(x::Any)`...
I just noticed quite severe regression: ```julia julia> ENV["JULIA_DEBUG"]="" "" julia> @btime 1.0*$(Arb(2.6)) # @debug statement in `convert` 108.709 ns (2 allocations: 128 bytes) 2.6000000000000000888178419700125232338905334472656250000000000000000000000000 julia> @btime 1.0*$(Arb(2.6)) # no...
the solution with `const _debug = Ref(false)` is actually less costly than reported above. I changed the constructor as suggested above like this: ```julia const _debug = Ref(true) #Arb function...
yeah, this was more of a reminder for us, @saschatimme spearheaded the package so he'll be more qualified to implement this ;) But it's great to hear that you're still...
@lrnv locally you can define it as `Base.expm1(x::T) where T eps(rand(Arb)) [1.7272337110188889250772703725600799142232000728872562770047406940337183606325e-77 +/- 1.46e-154] ``` the second with ``` julia> eps(rand(Arb)) [+/- 1.73e-77] ``` or we could marry both ```julia...
While it makes sense to have `Arf
@saschatimme ?
very well, thanks!
```julia julia> @btime A*A; 11.988 ms (10089 allocations: 4.11 MiB) julia> @btime A*A'; 786.593 ms (8160005 allocations: 436.25 MiB) julia> C = similar(A); D = similar(A); @btime Arblib.mul!($D, $A, Arblib.transpose!($C,...