long double

[Data Types]


The 86Duino supports long double, an 80-bit “double extended” format of floating-point numbers. The double extended format has a range from approximately 3.65E−4951 to 1.18E+4932, but it was designed not to store data at higher precision as such, but rather primarily to allow for the computation of double results more reliably and accurately by minimizing overflow and roundoff-errors in intermediate calculations. You may refer to the x86 Extended Precision Format for more details.


long double myVar;
long double sensorCalbrate = 1.117;


long double var = val;

var – your long double variable name
val – the value you assign to that variable


86Duino 參考的文本是根據 Creative Commons Attribution-ShareAlike 3.0 License,部分文本是從 the Arduino reference 修改的。 參考中的代碼示例已發佈到公共領域。


發佈留言必須填寫的電子郵件地址不會公開。 必填欄位標示為 *

Scroll to Top