zig/src/parse_f128.h
Andrew Kelley 4615ed5ea0
float literals now parse using musl's 128 bit float code
fixes float literals not having 128 bit precision
2019-03-22 14:56:03 -04:00

24 lines
454 B
C

/*
* Copyright (c) 2015 Andrew Kelley
*
* This file is part of zig, which is MIT licensed.
* See http://opensource.org/licenses/MIT
*/
#ifndef ZIG_PARSE_F128_H
#define ZIG_PARSE_F128_H
#include "softfloat_types.h"
#ifdef __cplusplus
#define ZIG_EXTERN_C extern "C"
#define ZIG_RESTRICT
#else
#define ZIG_EXTERN_C
#define ZIG_RESTRICT restrict
#endif
ZIG_EXTERN_C float128_t parse_f128(const char *ZIG_RESTRICT s, char **ZIG_RESTRICT p);
#endif