Skip to content
TheChatArchiveThe Chat Archive
o4-mini-2025-04-16· OpenAIHugging Face LMArena Human Preference 140K

calculate 0.1 + 0.2

From a Chatbot Arena battleThe same person sent this prompt to two anonymous models at once. Compare it with chatgpt-4o-latest-20250326’s answer.
  1. User

    calculate 0.1 + 0.2

  2. Assistant

    Mathematically:

    0.1 + 0.2 = 0.3

    However, if you try this in many programming languages (e.g. JavaScript or Python’s standard float), you’ll often see:

    0.1 + 0.2
    // → 0.30000000000000004
    

    That tiny “extra” comes from how decimal fractions are approximated in binary floating-point. In pure math, though, the exact sum is 0.3. 😊

Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.