Kryptostack
Typedefs | Enumerations | Variables
helper.h File Reference

Miscellaneous definitions and functions. More...

#include <cstdint>
#include <limits>
+ Include dependency graph for helper.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Typedefs

using OTCode = char
 OTCode - the Object Type Code.
 
using KSNCode = char
 KSNCode - the KryptoStack Normalized Code.
 

Enumerations

enum  AngularUnit : std::uint8_t { DEG , RAD }
 Angular Unit for trigonometric functions.
 

Variables

constexpr __float128 M_PI_180q = 0.017453292519943295769236907684886127134Q
 pi/180.
 
constexpr __float128 M_180_PIq = 57.295779513082320876798154814105170332405Q
 180/pi.
 
constexpr __float128 M_2PIq = 6.283185307179586476925286766559005768394Q
 2pi.
 
constexpr unsigned __int128 UINT128_MAX = std::numeric_limits<unsigned __int128>::max()
 Maximum unsigned int128.
 
constexpr __int128 INT128_MIN = std::numeric_limits<__int128>::min()
 Minimum int128.
 
constexpr __int128 INT128_MAX = std::numeric_limits<__int128>::max()
 Maximum int128.
 

Detailed Description

Miscellaneous definitions and functions.