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

Revolutionizing Air Quality Monitoring: How I Upgraded Our System with Mila Integration for Smart Home Automation

In this blog post , I explained how I set up an air quality monitoring system for our neighborhood. With this setup, we can keep an eye on t...