1. DarcDroid's Avatar
    Try to enter this calculation, can be in Standard or Scientific
    0 - 4.2 + 3.2 + 1

    The result is too DAMN high, oh wait it's actually too damn low
    Last edited by DarcBerry; 05-25-12 at 08:03 AM.
    Snuupy and patpatiar like this.
    05-25-12 07:31 AM
  2. Chrisy's Avatar
    05-25-12 07:34 AM
  3. chaddeus's Avatar
    Cool!! How did you come across this problem?

    - Charles
    05-25-12 07:37 AM
  4. DarcDroid's Avatar
    This problem is way funnier. Try it

    Cool!! How did you come across this problem?

    - Charles
    Accidentally found it, the number is different though (it's not like i need calculator to count that)
    I just post the shorter version
    05-25-12 07:43 AM
  5. Chrisy's Avatar
    Read the first three pages of the first thread.
    Salleh likes this.
    05-25-12 07:46 AM
  6. rickgainsmith's Avatar
    I hate the calculator! It can't be trusted for what 'normal people' use calculators for.

    RIM employee has told me it's using scientific rules even in standard mode, they knew this when 2.0 was released but didn't have time to change it.
    Salleh likes this.
    05-25-12 07:48 AM
  7. DarcDroid's Avatar
    Read the first three pages of the first thread.
    For the percentage problem, the Playbook is correct. It's just that most people already used to normal calculator.
    kennyliu likes this.
    05-25-12 08:07 AM
  8. Mr_Bunny's Avatar
    I hate the native calculator since I found AIR Calc in app world the native one has gone in my junk folder, its free and straight forward and simple.
    mzceetee likes this.
    05-25-12 08:24 AM
  9. anthogag's Avatar
    It isn't wrong. It's a very small number that's basically zero

    Math calculations, the way it's implemented at the bit level, sometimes produces results like this, right

    Try 4.2 - 3.2 - 1 and you'll get the same, but on the other side of 0

    Other math programs or apps would display it as 0...
    Last edited by anthogag; 05-25-12 at 08:51 AM.
    DarcDroid likes this.
    05-25-12 08:28 AM
  10. ast_ph's Avatar
    Even without the 0 -, it is still wrong!! Sigh!!
    DarcDroid likes this.
    05-25-12 08:34 AM
  11. borceg's Avatar
    It's scientifically correct The problem is how it's interpreting the zero. Seems that these numbers (4.2 and 4.3) trigger this scientific behaviour
    05-25-12 08:52 AM
  12. Chaddface's Avatar
    How can 4.5-3.5-1=0 but 4.2-3.2-1=3.45..........
    What does the E77 mean?
    05-25-12 08:55 AM
  13. DarcDroid's Avatar
    It isn't wrong. It's a very small number that's basically zero

    Math calculations, the way it's implemented at the bit level, sometimes produces results like this, right

    Try 4.2 - 3.2 - 1 and you'll get the same, but on the other side of 0

    Other math programs or apps would display it as 0...
    Make sense... I think something is wrong with the number 4.2

    How can 4.5-3.5-1=0 but 4.2-3.2-1=3.45..........
    What does the E77 mean?
    Yeah, other number give correct results. E77 means Ten to the power of seventy-seven
    For example, we can write 1,000 as 10^3 or 10E3
    Last edited by DarcBerry; 05-25-12 at 09:10 AM.
    Chaddface likes this.
    05-25-12 09:01 AM
  14. reschp's Avatar
    It adds like I spell - incorectly.....
    Snuupy likes this.
    05-25-12 09:19 AM
  15. EdY's Avatar
    So can somebody give the answers please, I don't have a playbook near me right now.

    So "4.5 - 3.5 - 1" = 0, and when you do "4.2 - 3.2 - 1" you get something other than 0?

    Please post the exact numbers, operators and answers of the calculations as they appear. I'd like to give this a shot to crack the problem. Thanks.



    Sent from my BlackBerry 9810 using Crackberry Tapatalk Forum app
    05-25-12 09:28 AM
  16. ctfish's Avatar
    The behaviour is even stranger.
    If you take 4.2 - 3.2 = 1
    Then minus one from the answer

    Ans - 1 =-3.4544674220377 E-77

    That is strange behaviour.
    patpatiar likes this.
    05-25-12 09:36 AM
  17. ctfish's Avatar
    It seems ANY non whole number going to zero in stages doesn't work.

    For example 4.2 - 4.2 = 0

    But

    4.0000001 - 3 = 1.0000001

    Ans - 1 = 0.0000001

    Ans - 0.0000001 = -8.3252097486722 E-78

    Seems to be an issue approaching zero.
    DarcDroid likes this.
    05-25-12 09:45 AM
  18. EdY's Avatar
    Ok, I see what is going on here. The E-77 is x10 to exponent -77 which is basically like...

    0.000000000...(77 zeros)..some #

    So it is almost 0 but not quite.

    When you are entering 4.2 and minus 3.2 you get 1. But maybe you are getting 1.0000000000xxx internally in the calculator, but it is not displaying that. And when you minus 1 you get the answer 0.000000000xxx...

    Or x.xx E-77 or whatever.

    Try to type 1 and then subtract 1. Do you get 0?

    Try 4.20000 - 3.20000 and see what happens. Do you get 1 and then when subtract 1 do you get 0? Or that strange very small but non- zero number?

    This has to do with precision of the values entered and what Playbook calc is doing to the previous registers/variables. I get this sometimes with Javascript, turns out there is either a buffer overflow so picking up bits from some other variable next to it in memory, or it is not zeroing out the previous numbers.



    Sent from my BlackBerry 9810 using Crackberry Tapatalk Forum app
    05-25-12 09:54 AM
  19. DarcDroid's Avatar
    Is 4.2 a value of some physics or math constant?
    Maybe if we can figure that out, it can lead to the answer

    Try to type 1 and then subtract 1. Do you get 0?

    Try 4.20000 - 3.20000 and see what happens. Do you get 1 and then when subtract 1 do you get 0? Or that strange very small but non- zero number?

    Sent from my BlackBerry 9810 using Crackberry Tapatalk Forum app
    1 - 1 is 0
    4.2000000 - 3.2000000 is 1
    and if continued: ANS - 1 = still omg
    Last edited by DarcBerry; 05-25-12 at 09:59 AM.
    05-25-12 09:56 AM
  20. Saul89's Avatar
    So it seems to be only doing it with 4.2. I tried with 4.5, 4.4, 4.1, and 4.25(and the corresponding 3 value) and got 0 for all those.

    And just did it with 4.1-3-1-0.1 and got -1.4...E-77


    strange
    05-25-12 10:25 AM
  21. BadGoliath42's Avatar
    Ok, I see what is going on here. The E-77 is x10 to exponent -77 which is basically like...

    0.000000000...(77 zeros)..some #

    So it is almost 0 but not quite.

    When you are entering 4.2 and minus 3.2 you get 1. But maybe you are getting 1.0000000000xxx internally in the calculator, but it is not displaying that. And when you minus 1 you get the answer 0.000000000xxx...

    Or x.xx E-77 or whatever.

    Try to type 1 and then subtract 1. Do you get 0?

    Try 4.20000 - 3.20000 and see what happens. Do you get 1 and then when subtract 1 do you get 0? Or that strange very small but non- zero number?

    This has to do with precision of the values entered and what Playbook calc is doing to the previous registers/variables. I get this sometimes with Javascript, turns out there is either a buffer overflow so picking up bits from some other variable next to it in memory, or it is not zeroing out the previous numbers.
    That is correct. The number is very close to zero, but not quite zero. This is due to a floating number calculation and the way it is stored in the variable on the PlayBook. Most likely a sloppy programming error coming from the development kit, not RIM. They could have corrected it though.

    It's nothing related to a magic number or some huge mistake. The calculator is perfectly reliable for everyday use, and even for advanced calculations it gives a correct answer. An error of 1E-78 is nothing to worry about.
    05-25-12 10:26 AM
  22. mathprof08's Avatar
    How can 4.5-3.5-1=0 but 4.2-3.2-1=3.45..........
    What does the E77 mean?
    It's E-77, which is one divided by ten to the 77th power, or 1 divided by a 1 followed by 77 zeroes. That would be represented by a 0. followed by 76 zeroes, then a 1 in the 77th spot after the decimal point:

    0.000000000000000000000000000000000000000000000000 00000000000000000000000000001

    It's a small enough number to be considered zero, but it's still infinitely far from zero, bizarrely enough.

    (Sorry for the space in the number. It shouldn't be there, and I don't know why it's there or how to get rid of it).
    kennyliu and DarcDroid like this.
    05-25-12 10:51 AM
  23. mathprof08's Avatar
    The behaviour is even stranger.
    If you take 4.2 - 3.2 = 1
    Then minus one from the answer

    Ans - 1 =-3.4544674220377 E-77

    That is strange behaviour.
    "Minus" is not a verb. The correct term is 'subtract.' Sorry, but this is one of my pet peeves, as is "timesing" two numbers. When my students talk like this, I act as if I don't know what they mean until they get it right.
    05-25-12 10:57 AM
  24. DarcDroid's Avatar
    It's E-77, which is one divided by ten to the 77th power, or 1 divided by a 1 followed by 77 zeroes. That would be represented by a 0. followed by 76 zeroes, then a 1 in the 77th spot after the decimal point:

    0.000000000000000000000000000000000000000000000000 00000000000000000000000000001

    It's a small enough number to be considered zero, but it's still infinitely far from zero, bizarrely enough.

    (Sorry for the space in the number. It shouldn't be there, and I don't know why it's there or how to get rid of it).
    I still wonder why it only happens on specific numbers like 4.2 but not 4.5
    05-25-12 11:16 AM
  25. vlade31's Avatar
    Try to enter this calculation, can be in Standard or Scientific
    0 - 4.2 + 3.2 + 1

    The result is too DAMN high, oh wait it's actually too damn low
    well, i get zero on my iphone 4 but that's just an itoy as most people like to refer to it here...

    PB is "professional grade" indeed!
    05-25-12 11:20 AM
85 123 ...
LINK TO POST COPIED TO CLIPBOARD