Skip to content

UMSKT/stdint128-cmake

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

stdint128-cmake

standardized implementation of [u]int128_t

selects a compiler specific builtin implementation of 128bit integers or defines a struct if a builtin is not supported.

TODO: use actual intrinsics for when a builtin is not provided

Usage

CMakeLists.txt

CPMAddPackage(
        NAME stdint128
        GITHUB_REPOSITORY UMSKT/stdint128-cmake
        GIT_TAG v1.0.0
        VERSION 1.0.0
)

C++

#include <stdint128>

// int128_t and uint128_t are now in the global namespace

C

#include <stdint128.t>

// int128_t and uint128_t have been typedef'd

About

standardized implementation of [u]int128_t

Resources

License

Stars

Watchers

Forks

Packages

No packages published