Benchmarking Large Language Models on Floating-Point Error Classification
Not on the map. Why?
Abstract (arXiv)
This paper investigates the capability of Large Language Models (LLMs) to detect and classify floating-point errors statically in software code. We introduce InterFLOPBench, a benchmark of 90 C kernels with 1 130 test samples designed to evaluate LLMs across six categories of floating-point error: cancellation, comparison, division by zero, overflow, underflow and NaN, compared across 14 LLMs. The evaluation framework treats floating-point error detection as a multi-label classification problem and employs the F1-score metric to measure performance. Results demonstrate that latest models (Qwen 3 32b, Gemini 2.5 Flash, Phi 4 Reasoning, DeepSeek R1T2, and gpt-oss 20b and 120b) achieve a performance greater than 0.88 overall F1-score. Performance varies between error categories, between explicit operations such as division by zero (Average F1-score: 0.8479) and more subtle numerical phenomena such as underflow (Average F1-score: 0.6059) and cancellation (Average F1-score: 0.6164).
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 18 of its 33 references that are in the map. First posted on arXiv 30 Jun 2026.
Builds on
18 of 33 references.
References · 18
- 2017Attention Is All You Needcited by 60,361
- 2024The Llama 3 Herd of Modelscited by 14,715
- 2021Evaluating Large Language Models Trained on Codecited by 8,320
- 2025Gemini 2.5: Pushing the Frontier with Advanced Reasoning, Multimodality, Long Context, and Next Generation Agentic Capabilitiescited by 3,796
- 2021Program Synthesis with Large Language Modelscited by 3,637
- 2025gpt-oss-120b & gpt-oss-20b Model Cardcited by 1,386
- 2024A Survey on Large Language Models for Code Generationcited by 658
- 2021Examining Zero-Shot Vulnerability Repair with Large Language Modelscited by 105
- 2025A Survey on Large Language Models for Mathematical Reasoningcited by 52
- 2025A Survey of Large Language Model Agents for Question Answeringcited by 48
- 2024A Systematic Literature Review on Large Language Models for Automated Program Repaircited by 37
- 2025A Survey of LLM-based Automated Program Repair: Taxonomies, Design Paradigms, and Applicationscited by 25
6 more
- 2025Assembly of Experts: Linear-time construction of the Chimera LLM variants with emergent and adaptable behaviorscited by 3
- 2025Can LLMs Find Bugs in Code? An Evaluation from Beginner Errors to Security Vulnerabilities in Python and C++cited by 3
- 2017Finding Root Causes of Floating Point Error with Herbgrindcited by 2
- 2025LLM4FP: LLM-Based Program Generation for Triggering Floating-Point Inconsistencies Across Compilerscited by 1
- 2025Formal that "Floats" High: Formal Verification of Floating Point Arithmeticcited by 1
- 2026Assessing Large Language Models for Stabilizing Numerical Expressions in Scientific Softwarecited by 1
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2026Are Large Language Models Reliable Reviewers? A Benchmark for Error Detection in Financial Documents
- 2026dMX: Differentiable Mixed-Precision Assignment for Low-Precision Floating-Point Formats
- 2025MX+: Pushing the Limits of Microscaling Formats for Efficient Large Language Model Serving
- 2026Beyond the Answer Key: Robustness Evaluation of Large Language Models for Step-Level Mathematical Verification
- 2024Evaluating Mathematical Reasoning of Large Language Models: A Focus on Error Identification and Correction
- 2026Hidden Reliability Risks in Large Language Models: Systematic Identification of Precision-Induced Output Disagreements
- 2025CLEAR: Error Analysis via LLM-as-a-Judge Made Easy
- 2024Benchmarking Benchmark Leakage in Large Language Models