Hello, thanks for the library. It works amazing. Perhaps my only source of pain is the combination of the following two facts:
- there is no integration with rust_decimal::Decimal; so i am forced to use conversion functions e.g.
Decimal::to_f64()
- however, conversion functions are fallible and return
Option<f64>;
Besides the clutter, my concern is that i'm usually forced to unwrap() (risking panic) or unwrap_or(meaningless) when instead I'd rather have a version of the root finding functions which accept a fallible evaluation function where None signals "user error, stop iterating".
Do you think it'd be possible to support such a use case?
Hello, thanks for the library. It works amazing. Perhaps my only source of pain is the combination of the following two facts:
Decimal::to_f64()Option<f64>;Besides the clutter, my concern is that i'm usually forced to unwrap() (risking panic) or unwrap_or(meaningless) when instead I'd rather have a version of the root finding functions which accept a fallible evaluation function where None signals "user error, stop iterating".
Do you think it'd be possible to support such a use case?