![]() |
ArkScript
A small, fast, functional and scripting language for video games
|
Classes | |
struct | DecomposedDouble |
Functions | |
template<class T > | |
constexpr T | bswap (T i) |
DecomposedDouble | serialize (const double n) |
double | deserialize (const DecomposedDouble d) |
Variables | |
static constexpr auto | MaxLong = static_cast<double>(std::numeric_limits<std::int64_t>::max()) |
|
constexpr |
Definition at line 19 of file IEEE754Serializer.hpp.
Referenced by deserialize(), and serialize().
|
inlinenodiscard |
Definition at line 54 of file IEEE754Serializer.hpp.
References bswap(), Ark::internal::ieee754::DecomposedDouble::exponent, Ark::internal::ieee754::DecomposedDouble::mantissa, and MaxLong.
Referenced by Ark::BytecodeReader::values().
|
inlinenodiscard |
Definition at line 43 of file IEEE754Serializer.hpp.
References bswap(), and MaxLong.
Referenced by Ark::internal::IRCompiler::pushValueTable().
|
staticconstexpr |
Definition at line 15 of file IEEE754Serializer.hpp.
Referenced by deserialize(), and serialize().