Zorba the Hutt (zorbathut) wrote,
Zorba the Hutt
zorbathut

I need to make an "Ultranumber" type in C++.

An Ultranumber will stay rational for as long as possible. In fact, it might even attempt to stay in some sort of factored form. As long as it can, it won't lose precision under any circumstances. If it has to, it will drop to floating-point precision. It will support all operators and its worst-case performance will never be bad.

Pity I'm too lazy to do it.

Sure would be handy, though.
Subscribe
  • Post a new comment

    Error

    default userpic

    Your IP address will be recorded 

    When you submit the form an invisible reCAPTCHA check will be performed.
    You must follow the Privacy Policy and Google Terms of use.
  • 8 comments