Comments (2)
An alternative to using modifications of the FPU hardware rounding mode involves using std::nextafter. This allows interval arithmetic for compilers that do not support a pragma approach. It can be used also for compilers that do support a pragma approach. This solves the problem where the pragma statements to turn on/off access to the floating-point environment cannot be used in header files for template classes that use interval arithmetic. I have added to my TODO list to make these modifications to GTE/GTL.
from geometrictools.
The post of GTE 5.6 has a new file SWInterval.h for interval arithmetic using std::nextafter. The performance of this in ConvexHull3 showed that it is a suitable replacement for FPInterval.h, the latter requiring access to modify the floating-point environment (which GCC does not yet support).
from geometrictools.
Related Issues (20)
- TriangulateEC needs modification HOT 10
- Plane to plane intersection looks wrong HOT 4
- Bug in box and cylinder intersection judgement HOT 2
- feature request - advice needed HOT 2
- A couple suggestions with the library HOT 3
- Floating point exceptions HOT 1
- Issues with cone fitting using ApprCone3 HOT 9
- Testing algorithms implementation HOT 3
- segDirection should be normalize ?it looks like a bug. HOT 1
- New distance queries HOT 12
- question 3D mesh CSG (boolean operations) HOT 2
- Question about MovingAlongCurveSpecifiedSpeed integral equation 5 on page 3 HOT 5
- Installation and Release Notes page not loading HOT 1
- IntrArc2Arc2 wrong case HOT 1
- Infinite loop in ETManifoldMesh::GetBoundaryPolygons() HOT 21
- MinimumVolumeBox3 sometimes misses large parts of the required volume HOT 9
- glt Multiarray error HOT 2
- Typo in Hyperplane::operator< - wrong comparison HOT 1
- An error occurred when I ran the 'PolygonBoolean Operations DX11' sample program HOT 5
- bug Arc2 Segment2 intersection HOT 3
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 geometrictools.