dashu-macros 0.6.0

Procedural macros for the dashu math types: create big-number literals at compile time with ubig!, ibig!, fbig!, dbig!, rbig!, and cbig! (plus their static_ variants for const contexts). Each literal follows the same parsing rules as the corresponding dashu type, producing values of UBig, IBig, FBig, RBig, or CBig in any supported base.
Documentation
1
2
3
4
Create an arbitrary precision signed integer ([dashu_int::IBig]) as a static reference.

The syntax of this macro is the same as the [ibig!][crate::ibig!], but the macro generates a **reference to** a immutable static `IBig` instance. Due to the limitation of const generics, the generated `IBig` instance can take as much as 4x (static) memory as a normal one, to support cross-platform definitions.