Przejdź do treści głównej

Analizator IEEE 754

Narzędzia dla Deweloperów

Układ bitów Float32/64 i precyzja

Szybki podgląd odpowiedzi

IEEE 754 Analyzer: Float32/64 bit layout and precision. IEEE 754 Analyzer uses standard developer formulas to compute accurate results instantly.

Precyzja
Stored value (Liczba normalna)
0.10000000000000001
Symbol0Wykładnik01111111011Część ułamkowa1001100110011001100110011001100110011001…
Hex: 3F B9 99 99 99 99 99 9A

Analiza na poziomie bitów

  1. 1Input 0.1 stored as double: sign=0, exponent field=1019 (bias 1023 → E=-4)
  2. 2Significand field = 10011001100110011001100110… (52 bits; hidden leading 1)
  3. 3Value = (−1)^0 × 1.mantissa × 2^-4

Klasyczna pułapka: 0,1 + 0,2

0.1 + 0.2 = 0.30000000000000004
0.1 + 0.2 === 0.3 → false
Liczby dziesiętne jak 0,1 są nieskończonymi cyklicznymi w systemie binarnym (podobnie jak 1/3 w dziesiętnym) – nie można ich przechowywać dokładnie. Dla kwot używaj całkowitych groszy lub biblioteki decimal; porównywanie liczb zmiennoprzecinkowych używaj epsilon (Math.abs(a-b) < 1e-9), zabronione ===. Wszystkie liczby w JS to float64; TypedArray ujawni zaokrąglenie float32.

Czy to narzędzie jest dla Ciebie pomocne?

Jak używać

  1. Paste or type content: drop code/text into the IEEE 754 Analyzer or fill the parameters.
  2. Choose mode/options: switch format, rules or processing as needed.
  3. Live output: results appear instantly — nothing is submitted, data stays in your browser.
  4. One-click copy: copy the output straight into your development environment.

Główne punkty

  • IEEE 754 Analyzer is a free online developer tool — open and use, no sign-up.
  • All calculations run locally in your browser; your data never leaves the device.
  • Key capability: Float32/64 bit layout and precision.
  • Results come with formulas and reference tables so you can verify every number.

Zasady i wzory

IEEE 754 Analyzer formula

IEEE 754 Analyzer uses standard developer formulas to compute accurate results instantly.

Często zadawane pytania

How do I use the IEEE 754 Analyzer?
Open the page and fill in the input fields — results update automatically. Float32/64 bit layout and precision.
Are the results accurate?
Yes. Standard formulas and conversion factors are used and verified.
Is it free? Do I need to sign up?
Completely free. No registration, login or download required.
Does it work on mobile?
Yes. The responsive design works on phones, tablets and desktops.
Is my data saved?
No. Everything runs locally in your browser.

Powiązane narzędzia

Powiązane poradniki

Źródła i aktualizacje

Based on RFC 4648, ECMA-262 and related specifications. Last updated: 2025-07

Ostatnia aktualizacja:

Wzory i treści na tej stronie zostały sprawdzone przez zespół YiJianSuan. Są one wyłącznie do celów edukacyjnych – w sprawach praktycznych należy kierować się oficjalnymi informacjami.

Treści są utrzymywane i regularnie weryfikowane przez zespół redakcyjny YiJianSuan – proces aktualizacji i weryfikacji jest opisany wPolityka redakcyjna.

Cytuj tę stronę: YiJianSuan. Analizator IEEE 754[EB/OL]. https://www.yijiansuan.com/pl/c/dev/ieee754

Wyniki generowane przez to narzędzie mają wyłącznie charakter informacyjny i nie stanowią porady zawodowej – należy kierować się oficjalnymi obliczeniami.