#include <stdio.h>#include <stdlib.h>#include <math.h>#include "ApproxMVBB/GeometryPredicates/Predicates.hpp"#include "ApproxMVBB/GeometryPredicates/Rounding.hpp"#include "ApproxMVBB/GeometryPredicates/PredicatesInit.hpp"
Go to the source code of this file.
Namespaces | |
| GeometryPredicates | |
Macros | |
| #define | Absolute(a) ((a) >= 0.0 ? (a) : -(a)) |
| #define | Eight_Four_Sum(a7, a6, a5, a4, a3, a2, a1, a0, b4, b3, b1, b0, x11, x10, x9, x8, x7, x6, x5, x4, x3, x2, x1, x0) |
| #define | Eight_One_Sum(a7, a6, a5, a4, a3, a2, a1, a0, b, x8, x7, x6, x5, x4, x3, x2, x1, x0) |
| #define | Eight_Two_Sum(a7, a6, a5, a4, a3, a2, a1, a0, b1, b0, x9, x8, x7, x6, x5, x4, x3, x2, x1, x0) |
| #define | Fast_Two_Diff(a, b, x, y) |
| #define | Fast_Two_Diff_Tail(a, b, x, y) |
| #define | Fast_Two_Sum(a, b, x, y) |
| #define | Fast_Two_Sum_Tail(a, b, x, y) |
| #define | Four_Four_Sum(a3, a2, a1, a0, b4, b3, b1, b0, x7, x6, x5, x4, x3, x2, x1, x0) |
| #define | Four_One_Product(a3, a2, a1, a0, b, x7, x6, x5, x4, x3, x2, x1, x0) |
| #define | Four_One_Sum(a3, a2, a1, a0, b, x4, x3, x2, x1, x0) |
| #define | Four_Two_Sum(a3, a2, a1, a0, b1, b0, x5, x4, x3, x2, x1, x0) |
| #define | Split(a, ahi, alo) |
| #define | Square(a, x, y) |
| #define | Square_Tail(a, x, y) |
| #define | Two_Diff(a, b, x, y) |
| #define | Two_Diff_Tail(a, b, x, y) |
| #define | Two_One_Diff(a1, a0, b, x2, x1, x0) |
| #define | Two_One_Product(a1, a0, b, x3, x2, x1, x0) |
| #define | Two_One_Sum(a1, a0, b, x2, x1, x0) |
| #define | Two_Product(a, b, x, y) |
| #define | Two_Product_2Presplit(a, ahi, alo, b, bhi, blo, x, y) |
| #define | Two_Product_Presplit(a, b, bhi, blo, x, y) |
| #define | Two_Product_Tail(a, b, x, y) |
| #define | Two_Square(a1, a0, x5, x4, x3, x2, x1, x0) |
| #define | Two_Sum(a, b, x, y) |
| #define | Two_Sum_Tail(a, b, x, y) |
| #define | Two_Two_Diff(a1, a0, b1, b0, x3, x2, x1, x0) |
| #define | Two_Two_Product(a1, a0, b1, b0, x7, x6, x5, x4, x3, x2, x1, x0) |
| #define | Two_Two_Sum(a1, a0, b1, b0, x3, x2, x1, x0) |
| #define | USE_PREDICATES_INIT |
| #define Absolute | ( | a | ) | ((a) >= 0.0 ? (a) : -(a)) |
Definition at line 147 of file Predicates.cpp.
| #define Eight_Four_Sum | ( | a7, | |
| a6, | |||
| a5, | |||
| a4, | |||
| a3, | |||
| a2, | |||
| a1, | |||
| a0, | |||
| b4, | |||
| b3, | |||
| b1, | |||
| b0, | |||
| x11, | |||
| x10, | |||
| x9, | |||
| x8, | |||
| x7, | |||
| x6, | |||
| x5, | |||
| x4, | |||
| x3, | |||
| x2, | |||
| x1, | |||
| x0 | |||
| ) |
Definition at line 296 of file Predicates.cpp.
| #define Eight_One_Sum | ( | a7, | |
| a6, | |||
| a5, | |||
| a4, | |||
| a3, | |||
| a2, | |||
| a1, | |||
| a0, | |||
| b, | |||
| x8, | |||
| x7, | |||
| x6, | |||
| x5, | |||
| x4, | |||
| x3, | |||
| x2, | |||
| x1, | |||
| x0 | |||
| ) |
Definition at line 284 of file Predicates.cpp.
| #define Eight_Two_Sum | ( | a7, | |
| a6, | |||
| a5, | |||
| a4, | |||
| a3, | |||
| a2, | |||
| a1, | |||
| a0, | |||
| b1, | |||
| b0, | |||
| x9, | |||
| x8, | |||
| x7, | |||
| x6, | |||
| x5, | |||
| x4, | |||
| x3, | |||
| x2, | |||
| x1, | |||
| x0 | |||
| ) |
Definition at line 289 of file Predicates.cpp.
| #define Fast_Two_Diff | ( | a, | |
| b, | |||
| x, | |||
| y | |||
| ) |
Definition at line 175 of file Predicates.cpp.
| #define Fast_Two_Diff_Tail | ( | a, | |
| b, | |||
| x, | |||
| y | |||
| ) |
Definition at line 171 of file Predicates.cpp.
| #define Fast_Two_Sum | ( | a, | |
| b, | |||
| x, | |||
| y | |||
| ) |
Definition at line 167 of file Predicates.cpp.
| #define Fast_Two_Sum_Tail | ( | a, | |
| b, | |||
| x, | |||
| y | |||
| ) |
Definition at line 163 of file Predicates.cpp.
| #define Four_Four_Sum | ( | a3, | |
| a2, | |||
| a1, | |||
| a0, | |||
| b4, | |||
| b3, | |||
| b1, | |||
| b0, | |||
| x7, | |||
| x6, | |||
| x5, | |||
| x4, | |||
| x3, | |||
| x2, | |||
| x1, | |||
| x0 | |||
| ) |
Definition at line 279 of file Predicates.cpp.
| #define Four_One_Product | ( | a3, | |
| a2, | |||
| a1, | |||
| a0, | |||
| b, | |||
| x7, | |||
| x6, | |||
| x5, | |||
| x4, | |||
| x3, | |||
| x2, | |||
| x1, | |||
| x0 | |||
| ) |
Definition at line 312 of file Predicates.cpp.
| #define Four_One_Sum | ( | a3, | |
| a2, | |||
| a1, | |||
| a0, | |||
| b, | |||
| x4, | |||
| x3, | |||
| x2, | |||
| x1, | |||
| x0 | |||
| ) |
Definition at line 271 of file Predicates.cpp.
| #define Four_Two_Sum | ( | a3, | |
| a2, | |||
| a1, | |||
| a0, | |||
| b1, | |||
| b0, | |||
| x5, | |||
| x4, | |||
| x3, | |||
| x2, | |||
| x1, | |||
| x0 | |||
| ) |
Definition at line 275 of file Predicates.cpp.
| #define Split | ( | a, | |
| ahi, | |||
| alo | |||
| ) |
Definition at line 201 of file Predicates.cpp.
| #define Square | ( | a, | |
| x, | |||
| y | |||
| ) |
Definition at line 248 of file Predicates.cpp.
| #define Square_Tail | ( | a, | |
| x, | |||
| y | |||
| ) |
Definition at line 242 of file Predicates.cpp.
| #define Two_Diff | ( | a, | |
| b, | |||
| x, | |||
| y | |||
| ) |
Definition at line 197 of file Predicates.cpp.
| #define Two_Diff_Tail | ( | a, | |
| b, | |||
| x, | |||
| y | |||
| ) |
Definition at line 190 of file Predicates.cpp.
| #define Two_One_Diff | ( | a1, | |
| a0, | |||
| b, | |||
| x2, | |||
| x1, | |||
| x0 | |||
| ) |
Definition at line 259 of file Predicates.cpp.
| #define Two_One_Product | ( | a1, | |
| a0, | |||
| b, | |||
| x3, | |||
| x2, | |||
| x1, | |||
| x0 | |||
| ) |
Definition at line 305 of file Predicates.cpp.
| #define Two_One_Sum | ( | a1, | |
| a0, | |||
| b, | |||
| x2, | |||
| x1, | |||
| x0 | |||
| ) |
Definition at line 255 of file Predicates.cpp.
| #define Two_Product | ( | a, | |
| b, | |||
| x, | |||
| y | |||
| ) |
Definition at line 215 of file Predicates.cpp.
| #define Two_Product_2Presplit | ( | a, | |
| ahi, | |||
| alo, | |||
| b, | |||
| bhi, | |||
| blo, | |||
| x, | |||
| y | |||
| ) |
Definition at line 233 of file Predicates.cpp.
| #define Two_Product_Presplit | ( | a, | |
| b, | |||
| bhi, | |||
| blo, | |||
| x, | |||
| y | |||
| ) |
Definition at line 222 of file Predicates.cpp.
| #define Two_Product_Tail | ( | a, | |
| b, | |||
| x, | |||
| y | |||
| ) |
Definition at line 207 of file Predicates.cpp.
| #define Two_Square | ( | a1, | |
| a0, | |||
| x5, | |||
| x4, | |||
| x3, | |||
| x2, | |||
| x1, | |||
| x0 | |||
| ) |
Definition at line 355 of file Predicates.cpp.
| #define Two_Sum | ( | a, | |
| b, | |||
| x, | |||
| y | |||
| ) |
Definition at line 186 of file Predicates.cpp.
| #define Two_Sum_Tail | ( | a, | |
| b, | |||
| x, | |||
| y | |||
| ) |
Definition at line 179 of file Predicates.cpp.
| #define Two_Two_Diff | ( | a1, | |
| a0, | |||
| b1, | |||
| b0, | |||
| x3, | |||
| x2, | |||
| x1, | |||
| x0 | |||
| ) |
Definition at line 267 of file Predicates.cpp.
| #define Two_Two_Product | ( | a1, | |
| a0, | |||
| b1, | |||
| b0, | |||
| x7, | |||
| x6, | |||
| x5, | |||
| x4, | |||
| x3, | |||
| x2, | |||
| x1, | |||
| x0 | |||
| ) |
Definition at line 325 of file Predicates.cpp.
| #define Two_Two_Sum | ( | a1, | |
| a0, | |||
| b1, | |||
| b0, | |||
| x3, | |||
| x2, | |||
| x1, | |||
| x0 | |||
| ) |
Definition at line 263 of file Predicates.cpp.
| #define USE_PREDICATES_INIT |
FPU Control state declaration Use header file generated automatically by PredicatesInit.
Definition at line 133 of file Predicates.cpp.