MySQL 8.0.40
Source Code Documentation
|
Utility functions for converting between ulonglong and double. More...
#include "my_inttypes.h"
Go to the source code of this file.
Macros | |
#define | ulonglong2double(A) ((double)(ulonglong)(A)) |
#define | my_off_t2double(A) ((double)(my_off_t)(A)) |
#define | double2ulonglong(A) ((ulonglong)(double)(A)) |
Variables | |
static constexpr double | LLONG_MAX_DOUBLE = 9223372036854774784.0 |
static constexpr double | ULLONG_MAX_DOUBLE = 18446744073709549568.0 |
static constexpr int64_t | MAX_EXACT_INTEGER_DOUBLE = (1ULL << 53) |
static constexpr int64_t | MIN_EXACT_INTEGER_DOUBLE = -MAX_EXACT_INTEGER_DOUBLE |
static constexpr int64_t | MAX_EXACT_INTEGER_FLOAT = (1ULL << 23) |
static constexpr int64_t | MIN_EXACT_INTEGER_FLOAT = -MAX_EXACT_INTEGER_FLOAT |
Utility functions for converting between ulonglong and double.
#define double2ulonglong | ( | A | ) | ((ulonglong)(double)(A)) |
#define my_off_t2double | ( | A | ) | ((double)(my_off_t)(A)) |
#define ulonglong2double | ( | A | ) | ((double)(ulonglong)(A)) |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |