fixed_point128 1.0.1.0
128 bit integer, fixed point and floating point arithmetic for C++20
Loading...
Searching...
No Matches
int128_t.h File Reference

128-bit signed integer type. More...

#include "int128_shared.h"

Go to the source code of this file.

Namespaces

namespace  fp128
 Everything the library provides.

Typedefs

using fp128::int128_t = int128_base<true>
 128 bit signed integer type.

Functions

int128_t fp128::operator""_int128 (const char *literal)
 User-defined literal for constructing int128_t from a string.

Detailed Description

128-bit signed integer type.

Provides fp128::int128_t, a software-emulated 128-bit signed integer using two's complement representation. Supports full arithmetic, bitwise, comparison, and conversion operators, as well as math functions (abs, sqrt, log, log2, log10, pow). All methods are inline for maximum performance.

See also
int128_shared.h for the class template both 128 bit integer types alias.
fp128_shared.h for supporting intrinsics and utilities.

Definition in file int128_t.h.