TLFloat
Loading...
Searching...
No Matches
Macros | Functions
misc.cpp File Reference
#include <cstring>
#include <cctype>
#include <cstdarg>
#include "suppress.hpp"
#include "tlfloat/tlmath.hpp"
#include "tlfloat/tlfloat.h"
Include dependency graph for misc.cpp:

Macros

#define TLFLOAT_NO_LIBSTDCXX
 

Functions

uint64_t tlfloat_version ()
 
double tlfloat_cast_d_q (const tlfloat_quad_ x)
 
double tlfloat_cast_d_o (const tlfloat_octuple_ x)
 
tlfloat_quad_ tlfloat_cast_q_d (const double x)
 
tlfloat_quad_ tlfloat_cast_q_o (const tlfloat_octuple_ x)
 
tlfloat_octuple_ tlfloat_cast_o_d (const double x)
 
tlfloat_octuple_ tlfloat_cast_o_q (const tlfloat_quad_ x)
 
int64_t tlfloat_cast_i64_q (const tlfloat_quad_ x)
 
tlfloat_quad_ tlfloat_cast_q_i64 (const int64_t x)
 
int64_t tlfloat_cast_i64_o (const tlfloat_octuple_ x)
 
tlfloat_octuple_ tlfloat_cast_o_i64 (const int64_t x)
 
uint64_t tlfloat_cast_u64_q (const tlfloat_quad_ x)
 
tlfloat_quad_ tlfloat_cast_q_u64 (const uint64_t x)
 
uint64_t tlfloat_cast_u64_o (const tlfloat_octuple_ x)
 
tlfloat_octuple_ tlfloat_cast_o_u64 (const uint64_t x)
 
int tlfloat_eq_q_q (const tlfloat_quad_ x, const tlfloat_quad_ y)
 
int tlfloat_ne_q_q (const tlfloat_quad_ x, const tlfloat_quad_ y)
 
int tlfloat_lt_q_q (const tlfloat_quad_ x, const tlfloat_quad_ y)
 
int tlfloat_le_q_q (const tlfloat_quad_ x, const tlfloat_quad_ y)
 
int tlfloat_gt_q_q (const tlfloat_quad_ x, const tlfloat_quad_ y)
 
int tlfloat_ge_q_q (const tlfloat_quad_ x, const tlfloat_quad_ y)
 
int tlfloat_eq_o_o (const tlfloat_octuple_ x, const tlfloat_octuple_ y)
 
int tlfloat_ne_o_o (const tlfloat_octuple_ x, const tlfloat_octuple_ y)
 
int tlfloat_lt_o_o (const tlfloat_octuple_ x, const tlfloat_octuple_ y)
 
int tlfloat_le_o_o (const tlfloat_octuple_ x, const tlfloat_octuple_ y)
 
int tlfloat_gt_o_o (const tlfloat_octuple_ x, const tlfloat_octuple_ y)
 
int tlfloat_ge_o_o (const tlfloat_octuple_ x, const tlfloat_octuple_ y)
 
tlfloat_int128_t_ tlfloat_cast_i128_i64 (const int64_t x)
 
int64_t tlfloat_cast_i64_i128 (const tlfloat_int128_t_ x)
 
tlfloat_uint128_t_ tlfloat_cast_u128_u64 (const uint64_t x)
 
uint64_t tlfloat_cast_u64_u128 (const tlfloat_uint128_t_ x)
 
tlfloat_int128_t_ tlfloat_cast_i128_d (const double x)
 
double tlfloat_cast_d_i128 (const tlfloat_int128_t_ x)
 
tlfloat_uint128_t_ tlfloat_cast_u128_d (const double x)
 
double tlfloat_cast_d_u128 (const tlfloat_uint128_t_ x)
 
tlfloat_int128_t_ tlfloat_cast_i128_q (const tlfloat_quad_ x)
 
tlfloat_quad_ tlfloat_cast_q_i128 (const tlfloat_int128_t_ x)
 
tlfloat_uint128_t_ tlfloat_cast_u128_q (const tlfloat_quad_ x)
 
tlfloat_quad_ tlfloat_cast_q_u128 (const tlfloat_uint128_t_ x)
 
tlfloat_int128_t_ tlfloat_cast_i128_o (const tlfloat_octuple_ x)
 
tlfloat_octuple_ tlfloat_cast_o_i128 (const tlfloat_int128_t_ x)
 
tlfloat_uint128_t_ tlfloat_cast_u128_o (const tlfloat_octuple_ x)
 
tlfloat_octuple_ tlfloat_cast_o_u128 (const tlfloat_uint128_t_ x)
 
int tlfloat_eq_i128_i128 (const tlfloat_int128_t_ x, const tlfloat_int128_t_ y)
 
int tlfloat_ne_i128_i128 (const tlfloat_int128_t_ x, const tlfloat_int128_t_ y)
 
int tlfloat_lt_i128_i128 (const tlfloat_int128_t_ x, const tlfloat_int128_t_ y)
 
int tlfloat_le_i128_i128 (const tlfloat_int128_t_ x, const tlfloat_int128_t_ y)
 
int tlfloat_gt_i128_i128 (const tlfloat_int128_t_ x, const tlfloat_int128_t_ y)
 
int tlfloat_ge_i128_i128 (const tlfloat_int128_t_ x, const tlfloat_int128_t_ y)
 
tlfloat_int128_t_ tlfloat_add_i128_i128 (const tlfloat_int128_t_ x, const tlfloat_int128_t_ y)
 
tlfloat_int128_t_ tlfloat_sub_i128_i128 (const tlfloat_int128_t_ x, const tlfloat_int128_t_ y)
 
tlfloat_int128_t_ tlfloat_mul_i128_i128 (const tlfloat_int128_t_ x, const tlfloat_int128_t_ y)
 
tlfloat_int128_t_ tlfloat_div_i128_i128 (const tlfloat_int128_t_ x, const tlfloat_int128_t_ y)
 
tlfloat_int128_t_ tlfloat_mod_i128_i128 (const tlfloat_int128_t_ x, const tlfloat_int128_t_ y)
 
tlfloat_int128_t_ tlfloat_and_i128_i128 (const tlfloat_int128_t_ x, const tlfloat_int128_t_ y)
 
tlfloat_int128_t_ tlfloat_or_i128_i128 (const tlfloat_int128_t_ x, const tlfloat_int128_t_ y)
 
tlfloat_int128_t_ tlfloat_xor_i128_i128 (const tlfloat_int128_t_ x, const tlfloat_int128_t_ y)
 
tlfloat_int128_t_ tlfloat_not_i128 (const tlfloat_int128_t_ x)
 
tlfloat_int128_t_ tlfloat_shl_i128_i (const tlfloat_int128_t_ x, const int y)
 
tlfloat_int128_t_ tlfloat_shr_i128_i (const tlfloat_int128_t_ x, const int y)
 
tlfloat_int128_t_ tlfloat_neg_i128 (const tlfloat_int128_t_ x)
 
int tlfloat_eq_u128_u128 (const tlfloat_uint128_t_ x, const tlfloat_uint128_t_ y)
 
int tlfloat_ne_u128_u128 (const tlfloat_uint128_t_ x, const tlfloat_uint128_t_ y)
 
int tlfloat_lt_u128_u128 (const tlfloat_uint128_t_ x, const tlfloat_uint128_t_ y)
 
int tlfloat_le_u128_u128 (const tlfloat_uint128_t_ x, const tlfloat_uint128_t_ y)
 
int tlfloat_gt_u128_u128 (const tlfloat_uint128_t_ x, const tlfloat_uint128_t_ y)
 
int tlfloat_ge_u128_u128 (const tlfloat_uint128_t_ x, const tlfloat_uint128_t_ y)
 
tlfloat_uint128_t_ tlfloat_add_u128_u128 (const tlfloat_uint128_t_ x, const tlfloat_uint128_t_ y)
 
tlfloat_uint128_t_ tlfloat_sub_u128_u128 (const tlfloat_uint128_t_ x, const tlfloat_uint128_t_ y)
 
tlfloat_uint128_t_ tlfloat_mul_u128_u128 (const tlfloat_uint128_t_ x, const tlfloat_uint128_t_ y)
 
tlfloat_uint128_t_ tlfloat_div_u128_u128 (const tlfloat_uint128_t_ x, const tlfloat_uint128_t_ y)
 
tlfloat_uint128_t_ tlfloat_mod_u128_u128 (const tlfloat_uint128_t_ x, const tlfloat_uint128_t_ y)
 
tlfloat_uint128_t_ tlfloat_and_u128_u128 (const tlfloat_uint128_t_ x, const tlfloat_uint128_t_ y)
 
tlfloat_uint128_t_ tlfloat_or_u128_u128 (const tlfloat_uint128_t_ x, const tlfloat_uint128_t_ y)
 
tlfloat_uint128_t_ tlfloat_xor_u128_u128 (const tlfloat_uint128_t_ x, const tlfloat_uint128_t_ y)
 
tlfloat_uint128_t_ tlfloat_not_u128 (const tlfloat_uint128_t_ x)
 
tlfloat_uint128_t_ tlfloat_shl_u128_i (const tlfloat_uint128_t_ x, const int y)
 
tlfloat_uint128_t_ tlfloat_shr_u128_i (const tlfloat_uint128_t_ x, const int y)
 
float tlfloat_cbrtf (const float a)
 
double tlfloat_cbrt (const double a)
 
tlfloat_quad_ tlfloat_cbrtq (const tlfloat_quad_ a)
 
tlfloat_octuple_ tlfloat_cbrto (const tlfloat_octuple_ a)
 
float tlfloat_fmodf (const float x, const float y)
 
double tlfloat_fmod (const double x, const double y)
 
tlfloat_quad_ tlfloat_fmodq (const tlfloat_quad_ x, const tlfloat_quad_ y)
 
tlfloat_octuple_ tlfloat_fmodo (const tlfloat_octuple_ x, const tlfloat_octuple_ y)
 
float tlfloat_remainderf (const float x, const float y)
 
double tlfloat_remainder (const double x, const double y)
 
tlfloat_quad_ tlfloat_remainderq (const tlfloat_quad_ x, const tlfloat_quad_ y)
 
tlfloat_octuple_ tlfloat_remaindero (const tlfloat_octuple_ x, const tlfloat_octuple_ y)
 
float tlfloat_remquof (const float x, const float y, int *quo)
 
double tlfloat_remquo (const double x, const double y, int *quo)
 
tlfloat_quad_ tlfloat_remquoq (const tlfloat_quad_ x, const tlfloat_quad_ y, int *quo)
 
tlfloat_octuple_ tlfloat_remquoo (const tlfloat_octuple_ x, const tlfloat_octuple_ y, int *quo)
 

Macro Definition Documentation

◆ TLFLOAT_NO_LIBSTDCXX

#define TLFLOAT_NO_LIBSTDCXX

Function Documentation

◆ tlfloat_add_i128_i128()

tlfloat_int128_t_ tlfloat_add_i128_i128 ( const tlfloat_int128_t_  x,
const tlfloat_int128_t_  y 
)

◆ tlfloat_add_u128_u128()

tlfloat_uint128_t_ tlfloat_add_u128_u128 ( const tlfloat_uint128_t_  x,
const tlfloat_uint128_t_  y 
)

◆ tlfloat_and_i128_i128()

tlfloat_int128_t_ tlfloat_and_i128_i128 ( const tlfloat_int128_t_  x,
const tlfloat_int128_t_  y 
)

◆ tlfloat_and_u128_u128()

tlfloat_uint128_t_ tlfloat_and_u128_u128 ( const tlfloat_uint128_t_  x,
const tlfloat_uint128_t_  y 
)

◆ tlfloat_cast_d_i128()

double tlfloat_cast_d_i128 ( const tlfloat_int128_t_  x)

◆ tlfloat_cast_d_o()

double tlfloat_cast_d_o ( const tlfloat_octuple_  x)

This function casts a octuple-precision FP number to a double-precision FP number. Link with -ltlfloat.

◆ tlfloat_cast_d_q()

double tlfloat_cast_d_q ( const tlfloat_quad_  x)

This function casts a quadruple-precision FP number to a double-precision FP number. Link with -ltlfloat.

◆ tlfloat_cast_d_u128()

double tlfloat_cast_d_u128 ( const tlfloat_uint128_t_  x)

◆ tlfloat_cast_i128_d()

tlfloat_int128_t_ tlfloat_cast_i128_d ( const double  x)

◆ tlfloat_cast_i128_i64()

tlfloat_int128_t_ tlfloat_cast_i128_i64 ( const int64_t  x)

◆ tlfloat_cast_i128_o()

tlfloat_int128_t_ tlfloat_cast_i128_o ( const tlfloat_octuple_  x)

◆ tlfloat_cast_i128_q()

tlfloat_int128_t_ tlfloat_cast_i128_q ( const tlfloat_quad_  x)

◆ tlfloat_cast_i64_i128()

int64_t tlfloat_cast_i64_i128 ( const tlfloat_int128_t_  x)

◆ tlfloat_cast_i64_o()

int64_t tlfloat_cast_i64_o ( const tlfloat_octuple_  x)

This function casts a octuple-precision FP number to a 64-bit signed integer. Link with -ltlfloat.

◆ tlfloat_cast_i64_q()

int64_t tlfloat_cast_i64_q ( const tlfloat_quad_  x)

This function casts a quadruple-precision FP number to a 64-bit signed integer. Link with -ltlfloat.

◆ tlfloat_cast_o_d()

tlfloat_octuple_ tlfloat_cast_o_d ( const double  x)

This function casts a double-precision FP number to a octuple-precision FP number. Link with -ltlfloat.

◆ tlfloat_cast_o_i128()

tlfloat_octuple_ tlfloat_cast_o_i128 ( const tlfloat_int128_t_  x)

◆ tlfloat_cast_o_i64()

tlfloat_octuple_ tlfloat_cast_o_i64 ( const int64_t  x)

This function casts a 64-bit signed integer to a octuple-precision FP number. Link with -ltlfloat.

◆ tlfloat_cast_o_q()

tlfloat_octuple_ tlfloat_cast_o_q ( const tlfloat_quad_  x)

This function casts a quadruple-precision FP number to a octuple-precision FP number. Link with -ltlfloat.

◆ tlfloat_cast_o_u128()

tlfloat_octuple_ tlfloat_cast_o_u128 ( const tlfloat_uint128_t_  x)

◆ tlfloat_cast_o_u64()

tlfloat_octuple_ tlfloat_cast_o_u64 ( const uint64_t  x)

This function casts a 64-bit unsigned integer to a octuple-precision FP number. Link with -ltlfloat.

◆ tlfloat_cast_q_d()

tlfloat_quad_ tlfloat_cast_q_d ( const double  x)

This function casts a double-precision FP number to a quadruple-precision FP number. Link with -ltlfloat.

◆ tlfloat_cast_q_i128()

tlfloat_quad_ tlfloat_cast_q_i128 ( const tlfloat_int128_t_  x)

◆ tlfloat_cast_q_i64()

tlfloat_quad_ tlfloat_cast_q_i64 ( const int64_t  x)

This function casts a 64-bit signed integer to a quadruple-precision FP number. Link with -ltlfloat.

◆ tlfloat_cast_q_o()

tlfloat_quad_ tlfloat_cast_q_o ( const tlfloat_octuple_  x)

This function casts a octuple-precision FP number to a quadruple-precision FP number. Link with -ltlfloat.

◆ tlfloat_cast_q_u128()

tlfloat_quad_ tlfloat_cast_q_u128 ( const tlfloat_uint128_t_  x)

◆ tlfloat_cast_q_u64()

tlfloat_quad_ tlfloat_cast_q_u64 ( const uint64_t  x)

This function casts a 64-bit unsigned integer to a quadruple-precision FP number. Link with -ltlfloat.

◆ tlfloat_cast_u128_d()

tlfloat_uint128_t_ tlfloat_cast_u128_d ( const double  x)

◆ tlfloat_cast_u128_o()

tlfloat_uint128_t_ tlfloat_cast_u128_o ( const tlfloat_octuple_  x)

◆ tlfloat_cast_u128_q()

tlfloat_uint128_t_ tlfloat_cast_u128_q ( const tlfloat_quad_  x)

◆ tlfloat_cast_u128_u64()

tlfloat_uint128_t_ tlfloat_cast_u128_u64 ( const uint64_t  x)

◆ tlfloat_cast_u64_o()

uint64_t tlfloat_cast_u64_o ( const tlfloat_octuple_  x)

This function casts a octuple-precision FP number to a 64-bit unsigned integer. Link with -ltlfloat.

◆ tlfloat_cast_u64_q()

uint64_t tlfloat_cast_u64_q ( const tlfloat_quad_  x)

This function casts a quadruple-precision FP number to a 64-bit unsigned integer. Link with -ltlfloat.

◆ tlfloat_cast_u64_u128()

uint64_t tlfloat_cast_u64_u128 ( const tlfloat_uint128_t_  x)

◆ tlfloat_cbrt()

double tlfloat_cbrt ( const double  a)

This function is for calling the corresponding function defined in tlfloat namespace from C language. Link with -ltlfloat.

◆ tlfloat_cbrtf()

float tlfloat_cbrtf ( const float  a)

This function is for calling the corresponding function defined in tlfloat namespace from C language. Link with -ltlfloat.

◆ tlfloat_cbrto()

tlfloat_octuple_ tlfloat_cbrto ( const tlfloat_octuple_  a)

◆ tlfloat_cbrtq()

tlfloat_quad_ tlfloat_cbrtq ( const tlfloat_quad_  a)

◆ tlfloat_div_i128_i128()

tlfloat_int128_t_ tlfloat_div_i128_i128 ( const tlfloat_int128_t_  x,
const tlfloat_int128_t_  y 
)

◆ tlfloat_div_u128_u128()

tlfloat_uint128_t_ tlfloat_div_u128_u128 ( const tlfloat_uint128_t_  x,
const tlfloat_uint128_t_  y 
)

◆ tlfloat_eq_i128_i128()

int tlfloat_eq_i128_i128 ( const tlfloat_int128_t_  x,
const tlfloat_int128_t_  y 
)

◆ tlfloat_eq_o_o()

int tlfloat_eq_o_o ( const tlfloat_octuple_  x,
const tlfloat_octuple_  y 
)

This function performs ordered comparison of two octuple-precision floating point numbers. Link with -ltlfloat.

◆ tlfloat_eq_q_q()

int tlfloat_eq_q_q ( const tlfloat_quad_  x,
const tlfloat_quad_  y 
)

This function performs ordered comparison of two quad-precision floating point numbers. Link with -ltlfloat.

◆ tlfloat_eq_u128_u128()

int tlfloat_eq_u128_u128 ( const tlfloat_uint128_t_  x,
const tlfloat_uint128_t_  y 
)

◆ tlfloat_fmod()

double tlfloat_fmod ( const double  x,
const double  y 
)

This function is for calling the corresponding function defined in tlfloat namespace from C language. Link with -ltlfloat.

◆ tlfloat_fmodf()

float tlfloat_fmodf ( const float  x,
const float  y 
)

This function is for calling the corresponding function defined in tlfloat namespace from C language. Link with -ltlfloat.

◆ tlfloat_fmodo()

tlfloat_octuple_ tlfloat_fmodo ( const tlfloat_octuple_  x,
const tlfloat_octuple_  y 
)

◆ tlfloat_fmodq()

tlfloat_quad_ tlfloat_fmodq ( const tlfloat_quad_  x,
const tlfloat_quad_  y 
)

◆ tlfloat_ge_i128_i128()

int tlfloat_ge_i128_i128 ( const tlfloat_int128_t_  x,
const tlfloat_int128_t_  y 
)

◆ tlfloat_ge_o_o()

int tlfloat_ge_o_o ( const tlfloat_octuple_  x,
const tlfloat_octuple_  y 
)

This function performs ordered comparison of two octuple-precision floating point numbers. Link with -ltlfloat.

◆ tlfloat_ge_q_q()

int tlfloat_ge_q_q ( const tlfloat_quad_  x,
const tlfloat_quad_  y 
)

This function performs ordered comparison of two quad-precision floating point numbers. Link with -ltlfloat.

◆ tlfloat_ge_u128_u128()

int tlfloat_ge_u128_u128 ( const tlfloat_uint128_t_  x,
const tlfloat_uint128_t_  y 
)

◆ tlfloat_gt_i128_i128()

int tlfloat_gt_i128_i128 ( const tlfloat_int128_t_  x,
const tlfloat_int128_t_  y 
)

◆ tlfloat_gt_o_o()

int tlfloat_gt_o_o ( const tlfloat_octuple_  x,
const tlfloat_octuple_  y 
)

This function performs ordered comparison of two octuple-precision floating point numbers. Link with -ltlfloat.

◆ tlfloat_gt_q_q()

int tlfloat_gt_q_q ( const tlfloat_quad_  x,
const tlfloat_quad_  y 
)

This function performs ordered comparison of two quad-precision floating point numbers. Link with -ltlfloat.

◆ tlfloat_gt_u128_u128()

int tlfloat_gt_u128_u128 ( const tlfloat_uint128_t_  x,
const tlfloat_uint128_t_  y 
)

◆ tlfloat_le_i128_i128()

int tlfloat_le_i128_i128 ( const tlfloat_int128_t_  x,
const tlfloat_int128_t_  y 
)

◆ tlfloat_le_o_o()

int tlfloat_le_o_o ( const tlfloat_octuple_  x,
const tlfloat_octuple_  y 
)

This function performs ordered comparison of two octuple-precision floating point numbers. Link with -ltlfloat.

◆ tlfloat_le_q_q()

int tlfloat_le_q_q ( const tlfloat_quad_  x,
const tlfloat_quad_  y 
)

This function performs ordered comparison of two quad-precision floating point numbers. Link with -ltlfloat.

◆ tlfloat_le_u128_u128()

int tlfloat_le_u128_u128 ( const tlfloat_uint128_t_  x,
const tlfloat_uint128_t_  y 
)

◆ tlfloat_lt_i128_i128()

int tlfloat_lt_i128_i128 ( const tlfloat_int128_t_  x,
const tlfloat_int128_t_  y 
)

◆ tlfloat_lt_o_o()

int tlfloat_lt_o_o ( const tlfloat_octuple_  x,
const tlfloat_octuple_  y 
)

This function performs ordered comparison of two octuple-precision floating point numbers. Link with -ltlfloat.

◆ tlfloat_lt_q_q()

int tlfloat_lt_q_q ( const tlfloat_quad_  x,
const tlfloat_quad_  y 
)

This function performs ordered comparison of two quad-precision floating point numbers. Link with -ltlfloat.

◆ tlfloat_lt_u128_u128()

int tlfloat_lt_u128_u128 ( const tlfloat_uint128_t_  x,
const tlfloat_uint128_t_  y 
)

◆ tlfloat_mod_i128_i128()

tlfloat_int128_t_ tlfloat_mod_i128_i128 ( const tlfloat_int128_t_  x,
const tlfloat_int128_t_  y 
)

◆ tlfloat_mod_u128_u128()

tlfloat_uint128_t_ tlfloat_mod_u128_u128 ( const tlfloat_uint128_t_  x,
const tlfloat_uint128_t_  y 
)

◆ tlfloat_mul_i128_i128()

tlfloat_int128_t_ tlfloat_mul_i128_i128 ( const tlfloat_int128_t_  x,
const tlfloat_int128_t_  y 
)

◆ tlfloat_mul_u128_u128()

tlfloat_uint128_t_ tlfloat_mul_u128_u128 ( const tlfloat_uint128_t_  x,
const tlfloat_uint128_t_  y 
)

◆ tlfloat_ne_i128_i128()

int tlfloat_ne_i128_i128 ( const tlfloat_int128_t_  x,
const tlfloat_int128_t_  y 
)

◆ tlfloat_ne_o_o()

int tlfloat_ne_o_o ( const tlfloat_octuple_  x,
const tlfloat_octuple_  y 
)

This function performs ordered comparison of two octuple-precision floating point numbers. Link with -ltlfloat.

◆ tlfloat_ne_q_q()

int tlfloat_ne_q_q ( const tlfloat_quad_  x,
const tlfloat_quad_  y 
)

This function performs ordered comparison of two quad-precision floating point numbers. Link with -ltlfloat.

◆ tlfloat_ne_u128_u128()

int tlfloat_ne_u128_u128 ( const tlfloat_uint128_t_  x,
const tlfloat_uint128_t_  y 
)

◆ tlfloat_neg_i128()

tlfloat_int128_t_ tlfloat_neg_i128 ( const tlfloat_int128_t_  x)

◆ tlfloat_not_i128()

tlfloat_int128_t_ tlfloat_not_i128 ( const tlfloat_int128_t_  x)

◆ tlfloat_not_u128()

tlfloat_uint128_t_ tlfloat_not_u128 ( const tlfloat_uint128_t_  x)

◆ tlfloat_or_i128_i128()

tlfloat_int128_t_ tlfloat_or_i128_i128 ( const tlfloat_int128_t_  x,
const tlfloat_int128_t_  y 
)

◆ tlfloat_or_u128_u128()

tlfloat_uint128_t_ tlfloat_or_u128_u128 ( const tlfloat_uint128_t_  x,
const tlfloat_uint128_t_  y 
)

◆ tlfloat_remainder()

double tlfloat_remainder ( const double  x,
const double  y 
)

This function is for calling the corresponding function defined in tlfloat namespace from C language. Link with -ltlfloat.

◆ tlfloat_remainderf()

float tlfloat_remainderf ( const float  x,
const float  y 
)

This function is for calling the corresponding function defined in tlfloat namespace from C language. Link with -ltlfloat.

◆ tlfloat_remaindero()

tlfloat_octuple_ tlfloat_remaindero ( const tlfloat_octuple_  x,
const tlfloat_octuple_  y 
)

◆ tlfloat_remainderq()

tlfloat_quad_ tlfloat_remainderq ( const tlfloat_quad_  x,
const tlfloat_quad_  y 
)

◆ tlfloat_remquo()

double tlfloat_remquo ( const double  x,
const double  y,
int *  quo 
)

This function is for calling the corresponding function defined in tlfloat namespace from C language. Link with -ltlfloat.

◆ tlfloat_remquof()

float tlfloat_remquof ( const float  x,
const float  y,
int *  quo 
)

This function is for calling the corresponding function defined in tlfloat namespace from C language. Link with -ltlfloat.

◆ tlfloat_remquoo()

tlfloat_octuple_ tlfloat_remquoo ( const tlfloat_octuple_  x,
const tlfloat_octuple_  y,
int *  quo 
)

◆ tlfloat_remquoq()

tlfloat_quad_ tlfloat_remquoq ( const tlfloat_quad_  x,
const tlfloat_quad_  y,
int *  quo 
)

◆ tlfloat_shl_i128_i()

tlfloat_int128_t_ tlfloat_shl_i128_i ( const tlfloat_int128_t_  x,
const int  y 
)

◆ tlfloat_shl_u128_i()

tlfloat_uint128_t_ tlfloat_shl_u128_i ( const tlfloat_uint128_t_  x,
const int  y 
)

◆ tlfloat_shr_i128_i()

tlfloat_int128_t_ tlfloat_shr_i128_i ( const tlfloat_int128_t_  x,
const int  y 
)

◆ tlfloat_shr_u128_i()

tlfloat_uint128_t_ tlfloat_shr_u128_i ( const tlfloat_uint128_t_  x,
const int  y 
)

◆ tlfloat_sub_i128_i128()

tlfloat_int128_t_ tlfloat_sub_i128_i128 ( const tlfloat_int128_t_  x,
const tlfloat_int128_t_  y 
)

◆ tlfloat_sub_u128_u128()

tlfloat_uint128_t_ tlfloat_sub_u128_u128 ( const tlfloat_uint128_t_  x,
const tlfloat_uint128_t_  y 
)

◆ tlfloat_version()

uint64_t tlfloat_version ( )

This function returns TLFLOAT_VERSION_MAJOR * 1000000ULL + TLFLOAT_VERSION_MINOR * 1000ULL + TLFLOAT_VERSION_PATCH

◆ tlfloat_xor_i128_i128()

tlfloat_int128_t_ tlfloat_xor_i128_i128 ( const tlfloat_int128_t_  x,
const tlfloat_int128_t_  y 
)

◆ tlfloat_xor_u128_u128()

tlfloat_uint128_t_ tlfloat_xor_u128_u128 ( const tlfloat_uint128_t_  x,
const tlfloat_uint128_t_  y 
)