Lies My Calculator and Computer Told Me [pdf]

This page summarizes the projects mentioned and recommended in the original post on news.ycombinator.com

InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  • mpmath

    Python library for arbitrary-precision floating-point arithmetic

  • What you've done here is tell SymPy to use extra precision for the intermediate (and final) output. This doesn't truly fix the problem of cancellation and loss of precision, but for many practical purposes it can postpone the problem long enough to give you a useful result.

    Internally, SymPy uses mpmath (https://mpmath.org/) for representation of numbers to arbitrary precision. You could install and use the latter library directly, gaining extra precision without going through symbolic manipulation.

    All that being said, it's still good practice to avoid loss of precision at the outset. Arbitrary-precision calculations are slow compared to hardware-native floating point operations. Using the example from mpmath's homepage in iPython:

        In [1]: import mpmath as mp; import scipy as sp; import numpy as np

  • 0.30000000000000004

    Floating Point Math Examples

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • mpmath – Python library for arbitrary-precision floating-point arithmetic

    1 project | news.ycombinator.com | 19 Jan 2024
  • mpmath VS gmpy - a user suggested alternative

    2 projects | 2 Aug 2023
  • How can I compute the Mandelbrot Set at infinite zoom level

    1 project | /r/askmath | 6 Jun 2023
  • How do I get more decimal places for numbers in Python?

    1 project | /r/programminghelp | 4 May 2023
  • My function isn't working correctly

    1 project | /r/learnprogramming | 9 Apr 2023