Skip to content

Commit

Permalink
README (#48)
Browse files Browse the repository at this point in the history
  • Loading branch information
tdelmas authored Nov 13, 2023
1 parent 9ddb976 commit 92e09f7
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,21 @@ And their positive and negative counterparts:

(Negatives types reject `+0.0` and positives types reject `-0.0`)

| Type | -∞ | ]-∞; -0.0[ | -0.0 | +0.0 | ]+0.0; +∞[ | +∞ | `NaN` |
|---|---|---|---|---|---|---|---|
| [`NonNaN`] | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ ||
| [`NonNaNFinite`] || ✔️ | ✔️ | ✔️ | ✔️ | ✔️ ||
| [`NonZeroNonNaN`] | ✔️ | ✔️ ||| ✔️ | ✔️ ||
| [`NonZeroNonNaNFinite`] || ✔️ ||| ✔️ |||
| [`Positive`] |||| ✔️ | ✔️ | ✔️ ||
| [`PositiveFinite`] |||| ✔️ | ✔️ |||
| [`StrictlyPositive`] ||||| ✔️ | ✔️ ||
| [`StrictlyPositiveFinite`] ||||| ✔️ |||
| [`Negative`] | ✔️ | ✔️ | ✔️ |||||
| [`NegativeFinite`] || ✔️ | ✔️ |||||
| [`StrictlyNegative`] | ✔️ | ✔️ ||||||
| [`StrictlyNegativeFinite`] || ✔️ ||||||

To avoid specifying the kind of float (e.g. like [`Positive<f32>`]), you can use the modules [`tf64`] and [`tf32`] which expose aliases.

The following conversions are implemented:
Expand Down

0 comments on commit 92e09f7

Please sign in to comment.