You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The decimal crate's d128 looks like a promising candidate. It's missing a few things that mathy-notes needs, like trig, particularly inverse trig, mathematical constants, and sqrt and co (but pow exists).
The dec crate seems to very possibly use the same library, and it's maintained, but it's also woefully under-featured, missing all of the above, and some features are tucked away in strange places.
The fraction crate is impressive and could be useful in the future, but it doesn't solve the feature problem; rather, it makes the problem significantly worse by having to work around fractions being represented perfectly. The infrastructure is also incredibly bulky.
The best solution I see for now is to use f128 (uses GCC's libquadmath) and roll our own in the future.
f64
has run into overlow/underflow errors with my homework; advising switching toDecimal128
at suggestion of an LC member.The text was updated successfully, but these errors were encountered: