Giter Site home page Giter Site logo

Comments (5)

Patashu avatar Patashu commented on September 21, 2024

It's counterintuitive but true. In an arbitrary precision numerical library this would be true, but since the total precision is limited then past a certain point the effects of multiplying two numbers is so miniscule compared to just taking whichever number is bigger.

Try testing it yourself - mess with multiplying numbers as they get bigger and bigger, and watch how the numbers change.

(If you DO find an edge case that isn't properly handled, let me know. But I think all such edge cases require more precision than b_e has)

from break_eternity.js.

xGnoSiSx avatar xGnoSiSx commented on September 21, 2024

Thanks for the prompt reply. I'm thinking of replicating this code for the JVM. but back to my issue:

If mag is a double float, then surely, for the precision supported by just the double float for at least I don't know? Layer 3-7? You will get some difference in the magnitude doing the regular algebra, because e15 is far less than e308?

from break_eternity.js.

xGnoSiSx avatar xGnoSiSx commented on September 21, 2024

I see what you mean!!

This is scary and unavoidable with this notation. And when creating a game where you're based on addition and multiplication, it seems this system is doomed or you need to add exponentiation and other more exotic operations to actually increase the magnitude of a high layer number...

from break_eternity.js.

Patashu avatar Patashu commented on September 21, 2024

It's just the way math works! Once your numbers get bigger and bigger, the power of lower hyperoperators gets smaller and smaller. And unfortunately too, the power of different hyperoperators get further and further apart from each other, such that eventually you're stranded to individual hyperoperators and amounts of arrows that can never meaningfully and continuously reach each other. Layers 0 and 1 are rich and diverse in mathematical gameplay experience. Layer 2 is a little harder to work with, but still possible to do interesting things about. Layer 3 is the precipice, and layer 4 and beyond is pretty much the land of 'your remaining tools are tetration, slog, cmp and max'. And if you increase the number of arrows between each layer from 1 to 2, the universe is pulled asunder.

The solution may be the implementation of continuous hyperoperators (see #46 (comment) ), but the required knowledge may not be mature enough yet.

I also want to replace the critical function for tetration bases 2, e and 10 with the exact way to calculate them in http://myweb.astate.edu/wpaulsen/tetcalc/tetcalc.html , just so we can have perfectly exact tetration/slog/sroot without any accuracy tradeoff remaining, but it'll be a tricky surgery so I've been putting it off. And I currently lack the knowledge to make such an exact calculation work for arbitrary bases.

from break_eternity.js.

xGnoSiSx avatar xGnoSiSx commented on September 21, 2024

:(

from break_eternity.js.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.