Skip to content

A header for computing the integer log10 with the C preprocessor

License

Notifications You must be signed in to change notification settings

KarlAndr1/static-log10-header

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

static-log10-header

A header for computing the integer log10 with the C preprocessor

Usage

#define X 123
#include "static_log10.h"
_Static_assert(LOG == 2, "")
#undef X

About

A header for computing the integer log10 with the C preprocessor

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published