unprim

Crates.iounprim
lib.rsunprim
version0.1.0
sourcesrc
created_at2022-08-31 04:51:46.359723
updated_at2022-08-31 04:51:46.359723
description8-bit to 256-bit types
homepage
repositoryhttps://github.com/rebrave04/un-prim
max_upload_size
id655492
size76,069
Ade Ramdani (rebrave04)

documentation

README

UN-PRIM

Unusual primitive types for any rust project.

This crate was unstable and maybe lot's of bugs and I suggest not to use this.

[dependencies]
unprim = "0.1"
use unprim::*;

let x: U256 = 100u128.into();
let y: U256 = 2u128.into();
let z = x * y;

assert_eq!(200u64, z.into());

TODO

  • Add Pow/Exp method for each types.
  • Add SQRT method for each types.
Commit count: 0

cargo fmt