Comments (7)
havent forgotten, working hard hardly working
from intervalarithmetic.jl.
I'm not sure that Core-Math can be used for our purporse, since it apparently requires using fesetround
to specify the rounding mode required, which has caused issues with LLVM in the past
from intervalarithmetic.jl.
Also changing the processor's rounding mode is not thread-safe.
I suggest reaching out to Paul Zimmermann to discuss this. (W e had an email conversation about it, but I dropped the ball.)
from intervalarithmetic.jl.
Hmm, apparently the state of fesetround
is supposed to be per thread. But this will need careful implementation and testing!
from intervalarithmetic.jl.
The other approach with this is performance. Changing the rounding mode clears out the processor pipeline (or at least used to?) so will be much slower (?)
from intervalarithmetic.jl.
If I remember correctly he suggested using the prevfloat / next float approach for performance...!
from intervalarithmetic.jl.
Interesting, thanks for pointing this out.
Using Core-Math does not solve all the performance issues, but it does (or seems to) avoid using MPFR.
I will have to take a closer look at fesetround
, I do not know much on the inner workings of these things. I do hope that a modern and maintained library for correctly rounded functions can be incorporated into Julia 🙂.
from intervalarithmetic.jl.
Related Issues (20)
- What is the best way for interval evaluation of a function with Vector{AbstractFloat} argument ? HOT 7
- Implementing the Riemann-Siegel Formula to find zeros of the Riemann Zeta Function with Interval Arithmetic HOT 1
- Remove IntervalBox in favor of AbstractVector{Interval} HOT 11
- Non-allocating version of set operations HOT 2
- Should the 1.0-dev branch be the master branch? HOT 9
- Derivative of abs(::Interval) HOT 7
- `<` and `>` breaks interval? HOT 2
- Warn or error on every operation mixing Interval and number HOT 1
- Matrix multiplication with mixed Interval SMatrix and SMatrix broken HOT 3
- Lack of `convert(::Interval{T}, a::Real)` HOT 3
- IntervalArithmetic.Interval(::Float64, ::Float64) appears no longer supported in v0.21.0; replace with IntervalArithmetic.interval() HOT 2
- Make DecoratedInterval the default HOT 1
- A common "thick numbers" package? HOT 11
- Failure of `Interval{T}(x::AbstractIrrational)` HOT 7
- incorrect comparison for ieee standard HOT 1
- Make sure that the documentation is correct HOT 1
- Revive `@interval`
- constants in `@constraint` not working HOT 6
- "one" on complex intervals returns wrong value HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from intervalarithmetic.jl.