4 comments

  • throw0101a11 minutes ago
    Meta: with regards to significant digits, it may depend on application, but this article reminded me on NASA&#x27;s &#x27;take&#x27; on π (pi):<p>&gt; <i>To start, let me answer your question directly. For JPL&#x27;s highest accuracy calculations, which are for interplanetary navigation, we use 3.141592653589793. Let&#x27;s look at this a little more closely to understand why we don&#x27;t use more decimal places.</i> […]<p>&gt; <i>3. Let&#x27;s go to the largest size there is: the known universe. The radius of the universe is about 46 billion light years. Now let me ask (and answer!) a different question: How many digits of pi would we need to calculate the circumference of a circle with a radius of 46 billion light years to an accuracy equal to the diameter of a hydrogen atom, the simplest atom? It turns out that 37 decimal places (38 digits, including the number 3 to the left of the decimal point) would be quite sufficient. […]</i><p>* <a href="https:&#x2F;&#x2F;www.jpl.nasa.gov&#x2F;edu&#x2F;news&#x2F;how-many-decimals-of-pi-do-we-really-need&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.jpl.nasa.gov&#x2F;edu&#x2F;news&#x2F;how-many-decimals-of-pi-do...</a>
  • 9dev4 hours ago
    For a short moment I got excited he may have started again… this post needs a [2019] :-(
  • rurban3 hours ago
    tcc also supports a binary float extension. <a href="https:&#x2F;&#x2F;github.com&#x2F;TinyCC&#x2F;tinycc&#x2F;blob&#x2F;9b8765d8baaeb2a16112d68cf9defd4b804b0dc9&#x2F;tests&#x2F;tests2&#x2F;70_floating_point_literals.c#L57" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;TinyCC&#x2F;tinycc&#x2F;blob&#x2F;9b8765d8baaeb2a16112d6...</a><p>long double la0 = 0B.110101100P12L;