FASTFLOAT_ASSUME

This commit is contained in:
IRainman 2025-04-08 03:24:11 +03:00
parent b261492ae7
commit a133b72fa8

View File

@ -197,12 +197,12 @@ using parse_options = parse_options_t<char>;
#ifndef FASTFLOAT_ASSERT
#define FASTFLOAT_ASSERT(x) \
{ ((void)(x)); }
{ ((void)(x)); FASTFLOAT_ASSUME(x); }
#endif
#ifndef FASTFLOAT_DEBUG_ASSERT
#define FASTFLOAT_DEBUG_ASSERT(x) \
{ ((void)(x)); }
{ ((void)(x)); FASTFLOAT_ASSUME(x); }
#endif
// rust style `try!()` macro, or `?` operator