saxbophone / arby

Arbitrary precision arithmetic in C++, even at compile-time
https://saxbophone.com/arby/
Mozilla Public License 2.0
8 stars 1 forks source link

Counter-example: Nat should not be directly instantiable from signed integer or float #140

Open saxbophone opened 1 year ago

saxbophone commented 1 year ago

Unless we can guarantee that said behaviour is consistent and does what we want.

Issue raised after feedback in https://codereview.stackexchange.com/questions/283562/api-design-for-implementing-nan-unknown-values-for-custom-numeric-type

Related to #139