mirror of
https://github.com/systemd/systemd.git
synced 2025-01-06 17:18:12 +03:00
test-sizeof: another aproach to _Float128 availability detection
This commit is contained in:
parent
a6887cc03e
commit
54781addb7
@ -3,6 +3,9 @@
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
|
||||
#define __STDC_WANT_IEC_60559_TYPES_EXT__
|
||||
#include <float.h>
|
||||
|
||||
#include "time-util.h"
|
||||
|
||||
/* Print information about various types. Useful when diagnosing
|
||||
@ -44,7 +47,7 @@ int main(void) {
|
||||
info(double);
|
||||
info(long double);
|
||||
|
||||
#ifdef __HAVE_DISTINCT_FLOAT128X
|
||||
#ifdef FLT128_MAX
|
||||
info(_Float128);
|
||||
info(_Float64);
|
||||
info(_Float64x);
|
||||
|
Loading…
Reference in New Issue
Block a user