pith. sign in

arxiv: 1509.01347 · v4 · pith:YXZZGA6Dnew · submitted 2015-09-04 · 💻 cs.MS · cs.NA· math.NA

Verificarlo: checking floating point accuracy through Monte Carlo Arithmetic

classification 💻 cs.MS cs.NAmath.NA
keywords accuracynumericalarithmeticcarlomonteverificarloanalysisapproaches
0
0 comments X
read the original abstract

Numerical accuracy of floating point computation is a well studied topic which has not made its way to the end-user in scientific computing. Yet, it has become a critical issue with the recent requirements for code modernization to harness new highly parallel hardware and perform higher resolution computation. To democratize numerical accuracy analysis, it is important to propose tools and methodologies to study large use cases in a reliable and automatic way. In this paper, we propose verificarlo, an extension to the LLVM compiler to automatically use Monte Carlo Arithmetic in a transparent way for the end-user. It supports all the major languages including C, C++, and Fortran. Unlike source-to-source approaches, our implementation captures the influence of compiler optimizations on the numerical accuracy. We illustrate how Monte Carlo Arithmetic using the verificarlo tool outperforms the existing approaches on various use cases and is a step toward automatic numerical analysis.

This paper has not been read by Pith yet.

discussion (0)

Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.

Forward citations

Cited by 1 Pith paper

Reviewed papers in the Pith corpus that reference this work. Sorted by Pith novelty score.

  1. Benchmarking Large Language Models on Floating-Point Error Classification

    cs.AI 2026-06 unverdicted novelty 6.0

    Introduces InterFLOPBench benchmark and evaluates 14 LLMs on multi-label classification of six floating-point error categories in C code, with top models exceeding 0.88 overall F1 but lower scores on subtle errors lik...