4#ifndef PRISM_INTERNAL_DOUBLE_H
5#define PRISM_INTERNAL_DOUBLE_H
16pm_binary64_bits(
double value) {
18 memcpy(&bits, &value,
sizeof(bits));
23bool pm_double_negative_p(
double value);
26bool pm_double_finite_p(
double value);
35double pm_double_parse(
const uint8_t *start,
const uint8_t *end,
bool *out_of_range);
38void pm_double_string(
pm_buffer_t *buffer,
double value);
#define PRISM_INLINE
Old Visual Studio versions do not support the inline keyword, so we need to define it to be __inline.
A wrapper around a contiguous block of allocated memory.
C99 shim for <stdbool.h>.