fastnum 0.7.4

Fast decimal numbers library
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use core::str::FromStr;

use crate::decimal::{Context, ParseError, UnsignedDecimal};

impl<const N: usize> FromStr for UnsignedDecimal<N> {
    type Err = ParseError;

    #[inline]
    fn from_str(s: &str) -> Result<Self, ParseError> {
        Self::from_str(s, Context::default())
    }
}