Sunday, December 17, 2006

128-bit long double support in Mac OS X


The size of the long double data type is 16 bytes in the version of gcc in Mac OS X 10.4.  Unfortunately printf in the version of libc, included in the OS, only includes support for printing 64 bit long doubles.  So if you want to print the value of a 128 bit long double, the output will not be as precise as the data itself.


I am trying to figure out a different way to print this data.

No comments:

Post a Comment

Mastering Matter: Seamless Smart Home Integration with Network Segmentation

I’ve been intrigued by the idea of integrating devices with Matter for some time. My smart home setup includes a pair of SwitchBot Hubs, som...