soroban-math 0.2.8

Fixed-Point Math Library for soroban smart contracts with advanced math and high precision
Documentation
# Ranges for each possible type in Soroban

# Rust / Soroban Integer Type Ranges (Small)

| Type   | Minimum Value | Maximum Value |
|--------|---------------|---------------|
| i8     | -128          | 127           |
| u8     | 0             | 255           |
| i16    | -32,768       | 32,767        |
| u16    | 0             | 65,535        |
| i32    | -2,147,483,648 | 2,147,483,647 |
| u32    | 0             | 4,294,967,295 |
| i64    | -9,223,372,036,854,775,808 | 9,223,372,036,854,775,807 |
| u64    | 0             | 18,446,744,073,709,551,615 |


# Rust / Soroban Integer Type Ranges (Large)


| i128   | -170,141,183,460,469,231,731,687,303,715,884,105,728 | 170,141,183,460,469,231,731,687,303,715,884,105,727 |
| u128   | 0             | 340,282,366,920,938,463,463,374,607,431,768,211,455 |
| i256   | -57896044618658097711785492504343953926634992332820282019728792003956564819968 | 57896044618658097711785492504343953926634992332820282019728792003956564819967 |
| U256   | 0             | 115792089237316195423570985008687907853269984665640564039457584007913129639935 |