Méthodologie de calcul et contrôle de la précision des calculateurs

Lors du développement des calculateurs et convertisseurs ConvertHat, nous accordons une attention particulière à la précision des calculs, à la fiabilité des sources et à la facilité d’utilisation. Avant sa publication, chaque calculateur est contrôlé pour sa précision mathématique et son bon fonctionnement.

Vérification indépendante des calculs

Les résultats des calculateurs sont comparés à des valeurs de référence calculées de manière indépendante à partir de formules mathématiques, de facteurs de conversion officiels et de données de référence.

Les contrôles couvrent les cas d’usage courants, les valeurs limites, les conversions d’unités et le traitement des saisies invalides.

Contrôle qualité

Chaque calculateur passe des contrôles automatisés de la précision des calculs et de l’affichage correct des résultats.

Les nouveaux calculateurs et les mises à jour ne sont publiés qu’après avoir réussi les contrôles prévus.

Règles d’arrondi et traitement des données

Les résultats sont arrondis à la précision fixée pour chaque calculateur selon la règle de l’arrondi au demi supérieur (par exemple, 2,5 est arrondi à 3).

Si une saisie est invalide, manquante ou hors des limites autorisées, le calculateur le signale au lieu d’afficher un résultat erroné.

Sources des formules et des données de référence

Pour concevoir nos calculateurs, nous nous appuyons sur des sources primaires faisant autorité :

Les pages de calculateurs comportant la section « Comment nous avons vérifié ce calculateur » indiquent les sources utilisées, des exemples de calculs de contrôle et la date du dernier contrôle réussi.

Précision et limites des résultats

Nous visons une grande précision des calculs dans les limites des modèles mathématiques appliqués et des données de référence disponibles.

La précision des résultats dépend des valeurs saisies, des règles d’arrondi et des particularités de chaque méthode de calcul.

Les calculateurs ConvertHat sont destinés à des fins d’information, d’apprentissage et d’usage pratique. Les résultats financiers, médicaux et juridiques ne remplacent pas l’avis d’un professionnel qualifié.

Sources citées sur ce site

Source Citée sur
29 CFR § 785.48 — Use of time clocks, (b) “Rounding” practices — Legal Information Institute (e-CFR text)
29 U.S. Code § 207 — Maximum hours, (a)(1) overtime at not less than one and one-half times the regular rate — Legal Information Institute
CODATA Recommended Values of the Fundamental Physical Constants: 2022 — Bohr magneton μB — National Institute of Standards and Technology
CODATA Recommended Values of the Fundamental Physical Constants: 2022 — Newtonian constant of gravitation G — National Institute of Standards and Technology
CODATA Recommended Values of the Fundamental Physical Constants: 2022 — Stefan–Boltzmann constant σ — National Institute of Standards and Technology
CODATA Recommended Values of the Fundamental Physical Constants: 2022 — Wien wavelength displacement law constant b — National Institute of Standards and Technology
CODATA Recommended Values of the Fundamental Physical Constants: 2022 — molar gas constant R — National Institute of Standards and Technology
CODATA Recommended Values of the Fundamental Physical Constants: 2022 — vacuum magnetic permeability μ0 — National Institute of Standards and Technology
CSS Values and Units Module Level 4, §6.2 Absolute Lengths (1in = 2.54cm = 96px; 1pt = 1/72 in) — World Wide Web Consortium (W3C)
FHWA HEC-22 Urban Drainage Design Manual, 3rd ed. (FHWA-NHI-10-009, 2009, rev. 2013) — §3.2.2 Rational method eq. (3-1) Q = CIA/Ku, Ku = 360 in SI; Manning's equation (3-5) V = (Ku/n) R^2/3 S^1/2, Ku = 1 in SI — U.S. Federal Highway Administration
Guidelines for Use of Extended Unique Identifier (EUI), Organizationally Unique Identifier (OUI), and Company ID (CID) — IEEE Registration Authority
IRS Publication 538, Accounting Periods and Methods — Accounting Periods: Fiscal Year — Internal Revenue Service
NIST Digital Library of Mathematical Functions, §1.11(iii) Cubic Equations — reduction to w³ + pw + q and the real roots — National Institute of Standards and Technology
NIST Digital Library of Mathematical Functions, §1.12 Continued Fractions — eq. (1.12.5) recurrences for the convergents A_k/B_k — National Institute of Standards and Technology
NIST Digital Library of Mathematical Functions, §26.13 Permutations: Cycle Notation — eq. (26.13.4) derangement number d(n) = n! Σ (−1)^j / j! — National Institute of Standards and Technology
NIST Digital Library of Mathematical Functions, §26.5 Lattice Paths: Catalan Numbers — eq. (26.5.1) C(n) = (2n choose n)/(n + 1) — National Institute of Standards and Technology
NIST Digital Library of Mathematical Functions, §26.7 Set Partitions: Bell Numbers — eq. (26.7.2) B(n) = Σ S(n, k) — National Institute of Standards and Technology
NIST Digital Library of Mathematical Functions, §26.8 Set Partitions: Stirling Numbers — eq. (26.8.6) S(n, k) = (1/k!) Σ (−1)^(k−j) (k choose j) j^n — National Institute of Standards and Technology
NIST Digital Library of Mathematical Functions, §27.14 Unrestricted Partitions — Euler's pentagonal number recursion for p(n), eq. (27.14.5)–(27.14.6) — National Institute of Standards and Technology
NIST Digital Library of Mathematical Functions, §27.2 Functions of Number Theory — Euler's totient (27.2.7), divisor functions d(n), σ_α(n) (27.2.9–10), Möbius function (27.2.12) — National Institute of Standards and Technology
NIST Digital Library of Mathematical Functions, §3.3 Interpolation — eq. (3.3.1) Lagrange interpolation polynomial — National Institute of Standards and Technology
NIST Digital Library of Mathematical Functions, §3.5 Quadrature — eq. (3.5.2) composite trapezoidal rule, eq. (3.5.7) composite Simpson's rule — National Institute of Standards and Technology
NIST Digital Library of Mathematical Functions, §4.2 Logarithm, Exponential, Powers: Definitions — eq. (4.2.3) ln z = ln|z| + i ph z, eq. (4.2.8) log_a z = ln z / ln a, eq. (4.2.24) exp z = e^x cos y + i e^x sin y — National Institute of Standards and Technology
NIST Guide to the SI, Appendix B.8: Factors for Units Listed Alphabetically — National Institute of Standards and Technology
et 39 de plus
NIST Guide to the SI, Chapter 7: Rules and Style Conventions for Expressing Values of Quantities (SP 811, §7.10.2 “%, percentage by, fraction”) — National Institute of Standards and Technology
NIST/SEMATECH e-Handbook of Statistical Methods, §1.3.5.1 Measures of Location (mean, median, trimmed and Winsorized means) — National Institute of Standards and Technology
NIST/SEMATECH e-Handbook of Statistical Methods, §1.3.5.11 Measures of Skewness and Kurtosis — Fisher–Pearson skewness g1 and excess kurtosis with s computed using N — National Institute of Standards and Technology
NIST/SEMATECH e-Handbook of Statistical Methods, §1.3.5.6 Measures of Scale — median absolute deviation MAD = median(|Yi − Ỹ|) — National Institute of Standards and Technology
NIST/SEMATECH e-Handbook of Statistical Methods, §1.3.6.6.1 Normal Distribution — probability density function — National Institute of Standards and Technology
NIST/SEMATECH e-Handbook of Statistical Methods, §1.3.6.6.18 Binomial Distribution — probability mass function, mean np, standard deviation √(np(1 − p)) — National Institute of Standards and Technology
NIST/SEMATECH e-Handbook of Statistical Methods, §1.3.6.6.19 Poisson Distribution — probability mass function e^−λ λ^x / x!, mean λ — National Institute of Standards and Technology
NIST/SEMATECH e-Handbook of Statistical Methods, §1.3.6.6.2 Uniform Distribution — density, cumulative distribution, mean (A + B)/2 and standard deviation — National Institute of Standards and Technology
NIST/SEMATECH e-Handbook of Statistical Methods, §1.3.6.6.7 Exponential Distribution — density, F(x) = 1 − e^(−x/β), mean and standard deviation β = 1/λ — National Institute of Standards and Technology
NIST/SEMATECH e-Handbook of Statistical Methods, §7.2.4.1 Confidence intervals — Wilson score interval for a proportion — National Institute of Standards and Technology
Prefixes for binary multiples (IEC 60027-2: kibi, mebi, gibi…) — National Institute of Standards and Technology
RFC 1146: TCP alternate checksum options (8-bit Fletcher's algorithm, Appendix I) — IETF
RFC 1950: ZLIB Compressed Data Format Specification version 3.3 (Adler-32, §8.2) — IETF
RFC 1952: GZIP file format specification version 4.3 (CRC-32, §8) — IETF
RFC 2781: UTF-16, an encoding of ISO 10646 — IETF
RFC 3339: Date and Time on the Internet: Timestamps — Appendix A (ISO 8601 collected ABNF: week dates, weekday 1 = Monday … 7 = Sunday) and Appendix C (Leap Years) — IETF
et 2 de plus
RFC 3629: UTF-8, a transformation format of ISO 10646 — IETF
RFC 3986: Uniform Resource Identifier (URI): Generic Syntax (percent-encoding, §2.1) — IETF
RFC 4291: IP Version 6 Addressing Architecture — IETF
RFC 4632: Classless Inter-domain Routing (CIDR): The Internet Address Assignment and Aggregation Plan — IETF
RFC 4648: The Base16, Base32, and Base64 Data Encodings — IETF
RFC 5952: A Recommendation for IPv6 Address Text Representation — IETF
Recommendation ITU-R P.525-5 (11/2024): Calculation of free-space attenuation — §2.3 Point-to-point links, equations (5) and (6) — International Telecommunication Union (ITU-R)
Regulation DD (12 CFR Part 1030), Appendix A — Annual Percentage Yield Calculation, Part I General formula — Consumer Financial Protection Bureau
Regulation Z (12 CFR Part 1026), Appendix J — Annual Percentage Rate Computations for Closed-End Credit Transactions, (b)(8) General equation — Consumer Financial Protection Bureau
The Heat Index Equation — Rothfusz regression with the low- and high-humidity adjustments, and Steadman's simple formula averaged with the temperature below 80 °F — NOAA National Weather Service, Weather Prediction Center
The International System of Units (SI), 9th edition (2019) — SI Brochure — Bureau International des Poids et Mesures (BIPM)
et 78 de plus