Jump to content
Wikipedia The Free Encyclopedia

Talk:Decimal64 floating-point format

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia
This article is rated C-class on Wikipedia's content assessment scale.
It is of interest to the following WikiProjects:
WikiProject icon Computing : Software Low‐importance
WikiProject icon This article is within the scope of WikiProject Computing , a collaborative effort to improve the coverage of computers, computing, and information technology on Wikipedia. If you would like to participate, please visit the project page, where you can join the discussion and see a list of open tasks.ComputingWikipedia:WikiProject ComputingTemplate:WikiProject ComputingComputing
Low This article has been rated as Low-importance on the project's importance scale.
Taskforce icon
This article is supported by WikiProject Software (assessed as Low-importance).
Taskforce icon
This article is supported by Computer hardware task force (assessed as Low-importance).

Meaning of m x c?

[edit ]

I guess c is easiest, it is probably 1.c in decimal? Or 0.c ? however m and x are a mystery in this article. what is biasing? I guess there is 10^z , where z is somehow dependent on m and x, but tables do not explain this.

Quantum vs Exponent

[edit ]

I'm new to the encoding, but I suspect the range of floating point numbers is incorrect. At the moment the range is described as:

±0.000000000000000×ばつ10^−383 to ±9.999999999999999×ばつ10^384

According to the IEEE-754 2008 standard, the decimal bias is expressed in terms of the quantum (bias=E-q), unlike the binary bias being expressed in terms of the exponent (bias=E-e). As such, I believe the range is actually:

±0000000000000000×ばつ10^−383 to ±9999999999999999×ばつ10^384

(note the lack of decimal point)

I was hoping someone more familiar with the standard could clarify this?

Mabtjie (talk) 03:34, 19 February 2022 (UTC) [reply ]

@Mabtjie: No, this is correct. The standard says that emax is 384, thus the maximum value is ±9.999999999999999×ばつ10^384. It also says that the bias Eq is 398. E is encoded on 10 bits and the first two cannot be 11; thus its maximum value is 1011111111 in binary, i.e. ×ばつ256−1 = 767. Thus the maximum value of q is 767−398 = 369, so that the maximum decimal64 finite value is ±9999999999999999×ばつ10^369. This is consistent. — Vincent Lefèvre (talk) 10:31, 19 February 2022 (UTC) [reply ]

AltStyle によって変換されたページ (->オリジナル) /