Functions
picotm-arithmetic-ctypes.h File Reference

Transactional, safe arithmetics for native C types. More...

#include "picotm/config/picotm-arithmetic-config.h"
#include "picotm/compiler.h"
#include <float.h>
#include <limits.h>
#include <stdlib.h>
#include "picotm-arithmetic.h"

Functions

static _Bool add__Bool_tx (_Bool lhs, _Bool rhs)
 
static char add_char_tx (char lhs, char rhs)
 
static double add_double_tx (double lhs, double rhs)
 
static float add_float_tx (float lhs, float rhs)
 
static int add_int_tx (int lhs, int rhs)
 
static long double add_ldouble_tx (long double lhs, long double rhs)
 
static long long add_llong_tx (long long lhs, long long rhs)
 
static long add_long_tx (long lhs, long rhs)
 
static signed char add_schar_tx (signed char lhs, signed char rhs)
 
static short add_short_tx (short lhs, short rhs)
 
static unsigned char add_uchar_tx (unsigned char lhs, unsigned char rhs)
 
static unsigned int add_uint_tx (unsigned int lhs, unsigned int rhs)
 
static unsigned long long add_ullong_tx (unsigned long long lhs, unsigned long long rhs)
 
static unsigned long add_ulong_tx (unsigned long lhs, unsigned long rhs)
 
static unsigned short add_ushort_tx (unsigned short lhs, unsigned short rhs)
 
static _Bool div__Bool_tx (_Bool lhs, _Bool rhs)
 
static char div_char_tx (char lhs, char rhs)
 
static double div_double_tx (double lhs, double rhs)
 
static float div_float_tx (float lhs, float rhs)
 
static int div_int_tx (int lhs, int rhs)
 
static long double div_ldouble_tx (long double lhs, long double rhs)
 
static long long div_llong_tx (long long lhs, long long rhs)
 
static long div_long_tx (long lhs, long rhs)
 
static signed char div_schar_tx (signed char lhs, signed char rhs)
 
static short div_short_tx (short lhs, short rhs)
 
static unsigned char div_uchar_tx (unsigned char lhs, unsigned char rhs)
 
static unsigned int div_uint_tx (unsigned int lhs, unsigned int rhs)
 
static unsigned long long div_ullong_tx (unsigned long long lhs, unsigned long long rhs)
 
static unsigned long div_ulong_tx (unsigned long lhs, unsigned long rhs)
 
static unsigned short div_ushort_tx (unsigned short lhs, unsigned short rhs)
 
static _Bool mul__Bool_tx (_Bool lhs, _Bool rhs)
 
static char mul_char_tx (char lhs, char rhs)
 
static double mul_double_tx (double lhs, double rhs)
 
static float mul_float_tx (float lhs, float rhs)
 
static int mul_int_tx (int lhs, int rhs)
 
static long double mul_ldouble_tx (long double lhs, long double rhs)
 
static long long mul_llong_tx (long long lhs, long long rhs)
 
static long mul_long_tx (long lhs, long rhs)
 
static signed char mul_schar_tx (signed char lhs, signed char rhs)
 
static short mul_short_tx (short lhs, short rhs)
 
static unsigned char mul_uchar_tx (unsigned char lhs, unsigned char rhs)
 
static unsigned int mul_uint_tx (unsigned int lhs, unsigned int rhs)
 
static unsigned long long mul_ullong_tx (unsigned long long lhs, unsigned long long rhs)
 
static unsigned long mul_ulong_tx (unsigned long lhs, unsigned long rhs)
 
static unsigned short mul_ushort_tx (unsigned short lhs, unsigned short rhs)
 
static _Bool sub__Bool_tx (_Bool lhs, _Bool rhs)
 
static char sub_char_tx (char lhs, char rhs)
 
static double sub_double_tx (double lhs, double rhs)
 
static float sub_float_tx (float lhs, float rhs)
 
static int sub_int_tx (int lhs, int rhs)
 
static long double sub_ldouble_tx (long double lhs, long double rhs)
 
static long long sub_llong_tx (long long lhs, long long rhs)
 
static long sub_long_tx (long lhs, long rhs)
 
static signed char sub_schar_tx (signed char lhs, signed char rhs)
 
static short sub_short_tx (short lhs, short rhs)
 
static unsigned char sub_uchar_tx (unsigned char lhs, unsigned char rhs)
 
static unsigned int sub_uint_tx (unsigned int lhs, unsigned int rhs)
 
static unsigned long long sub_ullong_tx (unsigned long long lhs, unsigned long long rhs)
 
static unsigned long sub_ulong_tx (unsigned long lhs, unsigned long rhs)
 
static unsigned short sub_ushort_tx (unsigned short lhs, unsigned short rhs)