Skip to content

Commit

Permalink
math: Add PositiveSign type.
Browse files Browse the repository at this point in the history
This will be used to enforce stronger restrictions on color components,
which will reduce the number of edge cases color processing code must
consider, and remove the the hazard of distinct negative zero
(<#537>).
  • Loading branch information
kpreid committed Oct 19, 2024
1 parent b652efe commit 9d4b1d8
Show file tree
Hide file tree
Showing 3 changed files with 430 additions and 1 deletion.
2 changes: 2 additions & 0 deletions all-is-cubes-base/src/math.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ mod grid_iter;
pub use grid_iter::*;
mod rigid;
pub use rigid::*;
mod restricted_number;
pub use restricted_number::*;
mod matrix;
pub use matrix::*;
mod octant;
Expand Down
Loading

0 comments on commit 9d4b1d8

Please sign in to comment.