Skip to main content

浮点数计算示例网站

0.30000000000000004.com

该网站展示了不同编程语言中浮点数计算的差异,并解释了导致0.1 + 0.2不等于0.3等现象的原因。

Utilities & Web Tools#floating-point#programming-examples
Visit website

https://0.30000000000000004.com/这个网站展示了不同语言(或者版本)中浮点数计算示例,并解释了造成这一现象的原因。来源于Twitter上BrendanEich回答为什么javascript中0.4 + 0.2 不等于 0.6的提问:https://twitter.com/ThainBBdL/status/1164505862905487366

More in Utilities & Web Tools

China Parcels

Track and manage all your online orders from China and worldwide

Utilities ·

Intertakt

An interval timer that runs with the screen off, with voice cues and beeps over

Utilities ·

Intertakt

Interval timer with voice cues and beeps that runs with the screen off

Utilities ·

QimenMind

Free multilingual Qimen Dunjia charting tool with AI-assisted interpretation

Utilities ·

ProHoster VPN

High-speed VPN for privacy, streaming, and unrestricted access

Utilities ·

RAMKeeper

macOS app to see which app is eating your memory

Utilities ·