Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re^4: rsFalse can't make some easy arithmetics :)

by no_slogan (Deacon)
on Oct 26, 2014 at 03:45 UTC ( #1105014=note: print w/replies, xml ) Need Help??


in reply to Re^3: rsFalse can't make some easy arithmetics :)
in thread Perl can't make some easy arithmetics :(

If you read what I wrote carefully, you'll see that I said "default representation." Hardware floating-point is very useful for certain applications, and I certainly wouldn't want to give it up completely. But, more and more, it's usually not what you want.

Also, your video codec is almost certainly using parallelized fixed-point calculations, not floating-point.

Also also, are you using a pure-perl bigint implementation? That's the default.

  • Comment on Re^4: rsFalse can't make some easy arithmetics :)

Replies are listed 'Best First'.
Re^5: rsFalse can't make some easy arithmetics :)
by BrowserUk (Pope) on Oct 26, 2014 at 14:13 UTC
    But, more and more, it's usually not what you want.

    That may be true in your world, but it certainly is not in mine.

    And unilaterally declaring that the default math should be a slow, cumbersome, and very rarely actually needed, infinite precision implementation based upon your own personal requirements and other equally specious arguments, is...well, specious.

    Further, it is far better that new programmers learn about the limits of machine precision early in their careers -- when what they are working on is likely to be non-critical and closely supervised -- than that they go through that early supervised period ignorant of those limitations and end up struggling to produce sufficiently performant code when it matters later.


    With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
    Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
    "Science is about questioning the status quo. Questioning authority".
    In the absence of evidence, opinion is indistinguishable from prejudice.

      Everyone kneel at the altar of Performance!

      Edit: Performance is a false god. If the Monks of today have forgotten this, then the wisdom of the monastery has faded much.

        Performance is a false god. If the Monks of today have forgotten this, then the wisdom of the monastery has faded much.

        Know nothing wannabes always try to hide their lack of skill and knowledge, and cover up their being too lazy to learn, by citing specious arguments in favour of the dumbing down of whatever it is they're too lazy to learn properly.


        With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
        Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
        "Science is about questioning the status quo. Questioning authority".
        In the absence of evidence, opinion is indistinguishable from prejudice.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1105014]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (7)
As of 2019-06-17 21:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Is there a future for codeless software?



    Results (80 votes). Check out past polls.

    Notices?
    • (Sep 10, 2018 at 22:53 UTC) Welcome new users!