hpn 0.8.2

Text-based RPN-style calculator in the HP Voyager tradition.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Copyright 2022 Tim Hammerquist
//
// Licensed under the [MIT license](https://opensource.org/licenses/MIT).
// This file may not be copied, modified, or distributed
// except according to those terms.

//! Types and traits used by and with the HPN struct and associated types.

pub use crate::hpn::{HPN, PRECISION, WIDTH};
pub use bigdecimal::{FromPrimitive, Num, One, Signed, ToPrimitive, Zero};
pub use rand::Rng;
pub use std::str::FromStr;

/// Type alias for internal numeric type
pub type Number = bigdecimal::BigDecimal;