Stories
Slash Boxes
Comments

SoylentNews is people

posted by martyb on Wednesday September 25 2019, @11:42PM   Printer-friendly
from the "irrational"-conclusion dept.

Arthur T Knackerbracket has found the following story:

Professor Peter Coveney, Director of the UCL Centre[*] for Computational Science and study co-author, said: "Our work shows that the behaviour of the chaotic dynamical systems is richer than any digital computer can capture. Chaos is more commonplace than many people may realise and even for very simple chaotic systems, numbers used by digital computers can lead to errors that are not obvious but can have a big impact. Ultimately, computers can't simulate everything."

The team investigated the impact of using floating-point arithmetic -- a method standardised by the IEEE and used since the 1950s to approximate real numbers on digital computers.

Digital computers use only rational numbers, ones that can be expressed as fractions. Moreover the denominator of these fractions must be a power of two, such as 2, 4, 8, 16, etc. There are infinitely more real numbers that cannot be expressed this way.

In the present work, the scientists used all four billion of these single-precision floating-point numbers that range from plus to minus infinity. The fact that the numbers are not distributed uniformly may also contribute to some of the inaccuracies.

First author, Professor Bruce Boghosian (Tufts University), said: "The four billion single-precision floating-point numbers that digital computers use are spread unevenly, so there are as many such numbers between 0.125 and 0.25, as there are between 0.25 and 0.5, as there are between 0.5 and 1.0. It is amazing that they are able to simulate real-world chaotic events as well as they do. But even so, we are now aware that this simplification does not accurately represent the complexity of chaotic dynamical systems, and this is a problem for such simulations on all current and future digital computers."

The study builds on the work of Edward Lorenz of MIT whose weather simulations using a simple computer model in the 1960s showed that tiny rounding errors in the numbers fed into his computer led to quite different forecasts, which is now known as the 'butterfly effect'.

[*] UCL: University College London

Journal Reference:
Bruce M. Boghosian, Peter V. Coveney, Hongyan Wang. A New Pathology in the Simulation of Chaotic Dynamical Systems on Digital Computers. Advanced Theory and Simulations, 2019; 1900125 DOI: 10.1002/adts.201900125


Original Submission

 
This discussion has been archived. No new comments can be posted.
Display Options Threshold/Breakthrough Mark All as Read Mark All as Unread
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
  • (Score: 2) by DannyB on Thursday September 26 2019, @03:25PM (6 children)

    by DannyB (5839) Subscriber Badge on Thursday September 26 2019, @03:25PM (#899157) Journal

    5 DEFDBL n
    10 n = 0.0
    20 GOTO 50
    30 blah blah
    40 n = n + 0.1
    50 IF n != 10.0 GOSUB 30
    60 END

    --
    Every performance optimization is a grate wait lifted from my shoulders.
    Starting Score:    1  point
    Karma-Bonus Modifier   +1  

    Total Score:   2  
  • (Score: 2) by JoeMerchant on Thursday September 26 2019, @03:37PM (5 children)

    by JoeMerchant (3937) on Thursday September 26 2019, @03:37PM (#899161)

    Did you copy this from my computer lab partner in 1984? - I think I've seen exactly that code sequence before.

    --
    🌻🌻 [google.com]
    • (Score: 2) by DannyB on Thursday September 26 2019, @03:40PM (4 children)

      by DannyB (5839) Subscriber Badge on Thursday September 26 2019, @03:40PM (#899164) Journal

      I proudly translated it myself, without any help, into the ideal programming language without any misteaks.

      --
      Every performance optimization is a grate wait lifted from my shoulders.
      • (Score: 2) by JoeMerchant on Thursday September 26 2019, @03:44PM (3 children)

        by JoeMerchant (3937) on Thursday September 26 2019, @03:44PM (#899170)

        I particularly like the stack overflow insert, so you don't get stuck in an infinite loop.

        --
        🌻🌻 [google.com]
        • (Score: 2) by DannyB on Thursday September 26 2019, @03:52PM (2 children)

          by DannyB (5839) Subscriber Badge on Thursday September 26 2019, @03:52PM (#899174) Journal

          That's why I have the title Senior Software Developer.

          --
          Every performance optimization is a grate wait lifted from my shoulders.
          • (Score: 3, Touché) by JoeMerchant on Thursday September 26 2019, @04:01PM (1 child)

            by JoeMerchant (3937) on Thursday September 26 2019, @04:01PM (#899180)

            They gave me the title "Principal", twice now - the first time they did that, I had them change it to "Principle" because, you know, I've got principles, not a bunch of unruly kids running around.

            This time Principal fits, so I let it stay.

            --
            🌻🌻 [google.com]
            • (Score: 2) by DannyB on Thursday September 26 2019, @05:30PM

              by DannyB (5839) Subscriber Badge on Thursday September 26 2019, @05:30PM (#899210) Journal

              I think I have that title because I've been here so long (almost 40 years) that I know where all the bodies are buried.

              --
              Every performance optimization is a grate wait lifted from my shoulders.