ref: 310ccf23d770b7f9e7589c3ef2611c1565009a7e
dir: /operators.h/
#ifndef OPERATORS_H #define OPERATORS_H mpint * conv_to_mpint(void *data, numerictype_t tag); double conv_to_double(void *data, numerictype_t tag); void conv_from_double(void *dest, double d, numerictype_t tag); int64_t conv_to_int64(void *data, numerictype_t tag); uint64_t conv_to_uint64(void *data, numerictype_t tag); int32_t conv_to_int32(void *data, numerictype_t tag); uint32_t conv_to_uint32(void *data, numerictype_t tag); int cmp_same_lt(void *a, void *b, numerictype_t tag); int cmp_same_eq(void *a, void *b, numerictype_t tag); int cmp_lt(void *a, numerictype_t atag, void *b, numerictype_t btag); int cmp_eq(void *a, numerictype_t atag, void *b, numerictype_t btag, int equalnans); #if defined(ULONG64) #define conv_to_long conv_to_int64 #define conv_to_ulong conv_to_uint64 #else #define conv_to_long conv_to_int32 #define conv_to_ulong conv_to_uint32 #endif #endif