We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 208257f commit 1b485c0Copy full SHA for 1b485c0
libc/src/stdio/printf_core/core_structs.h
@@ -55,8 +55,13 @@ struct FormatSection {
55
int min_width = 0;
56
int precision = -1;
57
58
- // Needs to be large enough to hold a long double.
+ // Needs to be large enough to hold a long double. Special case handling for
59
+ // the PowerPC double double type because it has no FPBits interface.
60
+#ifdef LIBC_TYPES_LONG_DOUBLE_IS_DOUBLE_DOUBLE
61
+ Uint128 conv_val_raw;
62
+#else
63
fputil::FPBits<long double>::StorageType conv_val_raw;
64
+#endif // LIBC_TYPES_LONG_DOUBLE_IS_DOUBLE_DOUBLE
65
void *conv_val_ptr;
66
67
char conv_name;
0 commit comments