mailing list of musl libc
 help / color / mirror / code / Atom feed
bb1737a834aa40ec19701759f5863fb89e9551f8 blob 748 bytes (raw)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
 
/* This header defines a macro indicating which format is the representation of
 * long double.
 *
 * LONG_DOUBLE_IS_BINARY64:
 *     The format of long double is IEEE 754 binary64 format. (a.k.a. double)
 * LONG_DOUBLE_IS_X87_EXTENDED:
 *     The format of long double is Intel 8087 80-bit extended precision
 *     format.
 * LONG_DOUBLE_IS_BINARY128:
 *     The format of long double is IEEE 754 binary128 format. (a.k.a. quad)
 */

#ifndef LONG_DOUBLE_H
#define LONG_DOUBLE_H

#if LDBL_MANT_DIG == 53 && LDBL_MAX_EXP == 1024
#define LONG_DOUBLE_IS_BINARY64
#elif LDBL_MANT_DIG == 64 && LDBL_MAX_EXP == 16384
#define LONG_DOUBLE_IS_X87_EXTENDED
#elif LDBL_MANT_DIG == 113 && LDBL_MAX_EXP == 16384
#define LONG_DOUBLE_IS_BINARY128
#endif

#endif
debug log:

solving bb1737a ...
found bb1737a in https://inbox.vuxu.org/musl/1457404695-17281-1-git-send-email-masanori.ogino@gmail.com/

applying [1/1] https://inbox.vuxu.org/musl/1457404695-17281-1-git-send-email-masanori.ogino@gmail.com/
diff --git a/src/internal/long_double.h b/src/internal/long_double.h
new file mode 100644
index 0000000..bb1737a

Checking patch src/internal/long_double.h...
Applied patch src/internal/long_double.h cleanly.

index at:
100644 bb1737a834aa40ec19701759f5863fb89e9551f8	src/internal/long_double.h

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).