亚洲精品视频一区二区,一级毛片在线观看视频,久久国产a,狠狠狠色丁香婷婷综合久久五月,天天做天天欢摸夜夜摸狠狠摸

當前位置: > 投稿>正文

floating point exception中文翻譯,floating point exception是什么意思,floating point exception發(fā)音、用法及例句

2025-06-15 投稿

floating point exception中文翻譯,floating point exception是什么意思,floating point exception發(fā)音、用法及例句

1、floating point exception

floating point exception發(fā)音

英:  美:

floating point exception中文意思翻譯

常用釋義:浮點(diǎn)異常:在計算機編程中

浮點(diǎn)數異常錯誤

floating point exception雙語(yǔ)使用場(chǎng)景

1、Floating-point operations never throw an exception.───浮點(diǎn)運算永遠不會(huì )引發(fā)異常。

2、SIGFPE - Arithmetic exception, integer divided by 0, or floating-point exception.───SIGFPE—算術(shù)異常、整數被零除或浮點(diǎn)異常。

3、Information technology - Programming languages - Fortran - Floating-point exception handling───信息技術(shù).程序設計語(yǔ)音.Fortran語(yǔ)言.浮點(diǎn)排除處理

floating point exception相似詞語(yǔ)短語(yǔ)

1、floating point overflow───浮點(diǎn)溢出

2、invalid floating point operation───浮點(diǎn)運算無(wú)效

3、exception───n.例外;異議

4、floating point───浮點(diǎn),浮點(diǎn)法,浮點(diǎn)小數點(diǎn);[計]浮點(diǎn)

5、floating───v.漂?。╢loat的現在分詞);adj.流動(dòng)的;漂浮的,浮動(dòng)的

6、floating shelves───浮動(dòng)貨架

7、exception eaccessviolation───例外情況

8、floating restaurants───浮動(dòng)餐廳

9、floating point division by zero───浮點(diǎn)除零

2、c語(yǔ)言打印double類(lèi)型?

相信很多人學(xué)C語(yǔ)言時(shí), 對long double的印象就是, 它能存儲精度比double更高的浮點(diǎn)數.

但事實(shí)上并不完全是這樣.

C98的標準是: double類(lèi)型的值是long double的子集

C++ 98 standard:

and the type long double provides at least as much precision as double. The set of values of the type float is a subset of the set of values of the type double; the set of values of the type double is a subset of the set of values of the type long double.

也就是說(shuō),long double只是定義為至少跟double一樣精度(即是可以一樣)

在wiki上的long double上找到:

On the x86 architecture, most C compilers implement long double

as the 80-bit extended precision type supported by x86 hardware (sometimes stored as 12 or 16 bytes to maintain data structure alignment), as specified in the C99 / C11 standards (IEC 60559 floating-point arithmetic (Annex F)).

An exception is Microsoft Visual C++ for x86, which makes long double

a synonym for double

.

在MSDN上, 可以發(fā)現:

Previous 16-bit versions of Microsoft C/C++ and Microsoft Visual C++ supported the long double, 80-bit precision data type. In Win32 programming, however, the long double data type maps to the double, 64-bit precision data type. The Microsoft run-time library provides long double versions of the math functions only for backward compatibility. The long double function prototypes are identical to the prototypes for their double counterparts, except that thelongdouble data type replaces the double data type. The long doubleversions of these functions should not be used in new code.

早期windows 16位是支持long double類(lèi)型(80位), 可是在Win32編程中, double跟long double等價(jià)了, 都是64位了. 盡管數學(xué)函數如sin, cos等仍然保留long double類(lèi)型,可是這些僅僅用來(lái)保持向后兼容(windows為了向后兼容付出了很多的..還有dll地獄一說(shuō))

也就是說(shuō), 在32位中, long double 跟 double等價(jià), 精度也是一樣的.

我在自己機器上測試,

cout

版權聲明: 本站僅提供信息存儲空間服務(wù),旨在傳遞更多信息,不擁有所有權,不承擔相關(guān)法律責任,不代表本網(wǎng)贊同其觀(guān)點(diǎn)和對其真實(shí)性負責。如因作品內容、版權和其它問(wèn)題需要同本網(wǎng)聯(lián)系的,請發(fā)送郵件至 舉報,一經(jīng)查實(shí),本站將立刻刪除。

亚洲精品视频一区二区,一级毛片在线观看视频,久久国产a,狠狠狠色丁香婷婷综合久久五月,天天做天天欢摸夜夜摸狠狠摸