arithmetica 0.1.0

Exact orient2d, incircle, orient3d and insphere for f64 in Rust: adaptive arithmetic with an exact integer fallback
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
arithmetica
Copyright 2026 Justin Erlick

Licensed under either of the Apache License, Version 2.0, or the MIT
license, at your option.

The adaptive predicates and the floating-point expansion arithmetic are a
Rust port of Jonathan Richard Shewchuk's public-domain predicates.c, and
follow the algorithms in:

  Shewchuk, J.R. (1997). Adaptive Precision Floating-Point Arithmetic and
  Fast Robust Geometric Predicates. Discrete & Computational Geometry,
  18(3), 305-363.

The underflow-protected and zero filters follow:

  Bartels, T., Fisikopoulos, V., Weiser, M. (2023). Fast Floating-Point
  Filters for Robust Predicates. BIT Numerical Mathematics, 63, 31.