#constants #compile-time #power #macro #power-of-two

macro power-of-two-impl

A simple power-of-two macro. Useful for creating compile-time constants.

1 unstable release

0.1.0 Jan 22, 2020

#97 in #constants


Used in power-of-two

MIT/Apache

4KB
67 lines

An implementation of procedural macro to generate compile-time constants for powers of two.

Dependencies

~1.5MB
~37K SLoC