Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. BUG in Windows Calc [modified]

BUG in Windows Calc [modified]

Scheduled Pinned Locked Moved The Lounge
comsysadminwindows-admintoolshelp
64 Posts 36 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • H Offline
    H Offline
    Hiren solanki
    wrote on last edited by
    #1

    Follow the procedure click '4' click 'sqrt' click '-'(Minus sign) click '2' Answer should be 0 But It comes back with '-8.1648465955514287168521180122928e-39' answer ;P [Edit] Tested with XP and Seven _[/More Edit] Windows Server 2008 R2 comes same with yet another answer '-1.068281969439142e-19' _[/More Edit] [/Edit]

    Rating is Always appreciated.
    Regards,
    Hiren Solanki.
    Indian Forum | My Articles | My Profile


    "You will always find me near 127.0.0.1"

    modified on Monday, November 1, 2010 7:00 AM

    A L M K D 22 Replies Last reply
    0
    • H Hiren solanki

      Follow the procedure click '4' click 'sqrt' click '-'(Minus sign) click '2' Answer should be 0 But It comes back with '-8.1648465955514287168521180122928e-39' answer ;P [Edit] Tested with XP and Seven _[/More Edit] Windows Server 2008 R2 comes same with yet another answer '-1.068281969439142e-19' _[/More Edit] [/Edit]

      Rating is Always appreciated.
      Regards,
      Hiren Solanki.
      Indian Forum | My Articles | My Profile


      "You will always find me near 127.0.0.1"

      modified on Monday, November 1, 2010 7:00 AM

      A Offline
      A Offline
      Abhinav S
      wrote on last edited by
      #2

      Yup confirmed - happening on Windows 7.

      The funniest thing about this particular signature is that by the time you realise it doesn't say anything it's too late to stop reading it. My latest tip/trick Visit the Hindi forum here.

      J 1 Reply Last reply
      0
      • H Hiren solanki

        Follow the procedure click '4' click 'sqrt' click '-'(Minus sign) click '2' Answer should be 0 But It comes back with '-8.1648465955514287168521180122928e-39' answer ;P [Edit] Tested with XP and Seven _[/More Edit] Windows Server 2008 R2 comes same with yet another answer '-1.068281969439142e-19' _[/More Edit] [/Edit]

        Rating is Always appreciated.
        Regards,
        Hiren Solanki.
        Indian Forum | My Articles | My Profile


        "You will always find me near 127.0.0.1"

        modified on Monday, November 1, 2010 7:00 AM

        L Offline
        L Offline
        leppie
        wrote on last edited by
        #3

        Another fails the knowledge about floating point.... When will they ever learn????? Edit: It seems to happen with any rounding around 0. If your result is not 0, the result is correctly rounded, but with values very near 0, it simply 'forgets'.... Edit 2: Press = again, the answer will be -2 as expected confirming the previous value is not rounded correctly, but still good enough due to its 'smallness' (e-39 is very small).

        ((λ (x) `(,x ',x)) '(λ (x) `(,x ',x)))

        modified on Monday, November 1, 2010 7:07 AM

        P D N E 4 Replies Last reply
        0
        • H Hiren solanki

          Follow the procedure click '4' click 'sqrt' click '-'(Minus sign) click '2' Answer should be 0 But It comes back with '-8.1648465955514287168521180122928e-39' answer ;P [Edit] Tested with XP and Seven _[/More Edit] Windows Server 2008 R2 comes same with yet another answer '-1.068281969439142e-19' _[/More Edit] [/Edit]

          Rating is Always appreciated.
          Regards,
          Hiren Solanki.
          Indian Forum | My Articles | My Profile


          "You will always find me near 127.0.0.1"

          modified on Monday, November 1, 2010 7:00 AM

          M Offline
          M Offline
          Mario Luis
          wrote on last edited by
          #4

          Lol , too much time on your hands but cool :D

          1 Reply Last reply
          0
          • H Hiren solanki

            Follow the procedure click '4' click 'sqrt' click '-'(Minus sign) click '2' Answer should be 0 But It comes back with '-8.1648465955514287168521180122928e-39' answer ;P [Edit] Tested with XP and Seven _[/More Edit] Windows Server 2008 R2 comes same with yet another answer '-1.068281969439142e-19' _[/More Edit] [/Edit]

            Rating is Always appreciated.
            Regards,
            Hiren Solanki.
            Indian Forum | My Articles | My Profile


            "You will always find me near 127.0.0.1"

            modified on Monday, November 1, 2010 7:00 AM

            K Offline
            K Offline
            Keith Barrow
            wrote on last edited by
            #5

            Sheesh, it's about right, whaddaya want, accuracy :-)

            Sort of a cross between Lawrence of Arabia and Dilbert.[^]

            O 1 Reply Last reply
            0
            • H Hiren solanki

              Follow the procedure click '4' click 'sqrt' click '-'(Minus sign) click '2' Answer should be 0 But It comes back with '-8.1648465955514287168521180122928e-39' answer ;P [Edit] Tested with XP and Seven _[/More Edit] Windows Server 2008 R2 comes same with yet another answer '-1.068281969439142e-19' _[/More Edit] [/Edit]

              Rating is Always appreciated.
              Regards,
              Hiren Solanki.
              Indian Forum | My Articles | My Profile


              "You will always find me near 127.0.0.1"

              modified on Monday, November 1, 2010 7:00 AM

              D Offline
              D Offline
              Dalek Dave
              wrote on last edited by
              #6

              Hiren Solanki wrote:

              Answer should be 0

              Or -4!

              ------------------------------------ I will never again mention that I was the poster of the One Millionth Lounge Post, nor that it was complete drivel. Dalek Dave CCC League Table Link CCC Link[^]

              K 1 Reply Last reply
              0
              • H Hiren solanki

                Follow the procedure click '4' click 'sqrt' click '-'(Minus sign) click '2' Answer should be 0 But It comes back with '-8.1648465955514287168521180122928e-39' answer ;P [Edit] Tested with XP and Seven _[/More Edit] Windows Server 2008 R2 comes same with yet another answer '-1.068281969439142e-19' _[/More Edit] [/Edit]

                Rating is Always appreciated.
                Regards,
                Hiren Solanki.
                Indian Forum | My Articles | My Profile


                "You will always find me near 127.0.0.1"

                modified on Monday, November 1, 2010 7:00 AM

                T Offline
                T Offline
                thatraja
                wrote on last edited by
                #7

                I have seen this in Win-XP here before, but I thought it would be solved in Windows 7, but it's terrible that still exists in Windows 7

                thatraja |Chennai|India|


                Brainbench certifications
                Down-votes are like kid's kisses don't reject it :-)
                Do what you want quickly because the Doomsday on 2012 :-)

                1 Reply Last reply
                0
                • H Hiren solanki

                  Follow the procedure click '4' click 'sqrt' click '-'(Minus sign) click '2' Answer should be 0 But It comes back with '-8.1648465955514287168521180122928e-39' answer ;P [Edit] Tested with XP and Seven _[/More Edit] Windows Server 2008 R2 comes same with yet another answer '-1.068281969439142e-19' _[/More Edit] [/Edit]

                  Rating is Always appreciated.
                  Regards,
                  Hiren Solanki.
                  Indian Forum | My Articles | My Profile


                  "You will always find me near 127.0.0.1"

                  modified on Monday, November 1, 2010 7:00 AM

                  R Offline
                  R Offline
                  riced
                  wrote on last edited by
                  #8

                  Hiren Solanki wrote:

                  But It comes back with '-8.1648465955514287168521180122928e-39

                  Or -0.00000000000000000000000000000000000000081648465955514287168521180122928 in real numbers :laugh: Oops - missed the leading 0.

                  Regards David R --------------------------------------------------------------- "Every program eventually becomes rococo, and then rubble." - Alan Perlis The only valid measurement of code quality: WTFs/minute.

                  D 1 Reply Last reply
                  0
                  • R riced

                    Hiren Solanki wrote:

                    But It comes back with '-8.1648465955514287168521180122928e-39

                    Or -0.00000000000000000000000000000000000000081648465955514287168521180122928 in real numbers :laugh: Oops - missed the leading 0.

                    Regards David R --------------------------------------------------------------- "Every program eventually becomes rococo, and then rubble." - Alan Perlis The only valid measurement of code quality: WTFs/minute.

                    D Offline
                    D Offline
                    Dalek Dave
                    wrote on last edited by
                    #9

                    It is very close to zero.

                    ------------------------------------ I will never again mention that I was the poster of the One Millionth Lounge Post, nor that it was complete drivel. Dalek Dave CCC League Table Link CCC Link[^]

                    1 Reply Last reply
                    0
                    • H Hiren solanki

                      Follow the procedure click '4' click 'sqrt' click '-'(Minus sign) click '2' Answer should be 0 But It comes back with '-8.1648465955514287168521180122928e-39' answer ;P [Edit] Tested with XP and Seven _[/More Edit] Windows Server 2008 R2 comes same with yet another answer '-1.068281969439142e-19' _[/More Edit] [/Edit]

                      Rating is Always appreciated.
                      Regards,
                      Hiren Solanki.
                      Indian Forum | My Articles | My Profile


                      "You will always find me near 127.0.0.1"

                      modified on Monday, November 1, 2010 7:00 AM

                      C Offline
                      C Offline
                      CPallini
                      wrote on last edited by
                      #10

                      Well, actually close to... :)

                      If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
                      This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke
                      [My articles]

                      1 Reply Last reply
                      0
                      • H Hiren solanki

                        Follow the procedure click '4' click 'sqrt' click '-'(Minus sign) click '2' Answer should be 0 But It comes back with '-8.1648465955514287168521180122928e-39' answer ;P [Edit] Tested with XP and Seven _[/More Edit] Windows Server 2008 R2 comes same with yet another answer '-1.068281969439142e-19' _[/More Edit] [/Edit]

                        Rating is Always appreciated.
                        Regards,
                        Hiren Solanki.
                        Indian Forum | My Articles | My Profile


                        "You will always find me near 127.0.0.1"

                        modified on Monday, November 1, 2010 7:00 AM

                        B Offline
                        B Offline
                        Bassam Abdul Baki
                        wrote on last edited by
                        #11

                        The Windows PowerToy Calc is slightly better.

                        Sqrt(4) - 2 = 3.9378992339362513964719291444358459196643504626684867133312775132667336556050866493546387304075566414818330038038295060147049046413138657775207384487209999618622897470743768272532233306387808895650314543995525529065482320548203801311885605071904357825187703782014895108614888708459734293476714554362468810447809428975260776308251921152998341440712577547187250299521717400700236027297480547576700432251758684242034663903791398932294256110257450914185948984125441052563042008394844537793781156975099171360793772881e-532

                        Web - BM - RSS - Math - LinkedIn

                        H 1 Reply Last reply
                        0
                        • H Hiren solanki

                          Follow the procedure click '4' click 'sqrt' click '-'(Minus sign) click '2' Answer should be 0 But It comes back with '-8.1648465955514287168521180122928e-39' answer ;P [Edit] Tested with XP and Seven _[/More Edit] Windows Server 2008 R2 comes same with yet another answer '-1.068281969439142e-19' _[/More Edit] [/Edit]

                          Rating is Always appreciated.
                          Regards,
                          Hiren Solanki.
                          Indian Forum | My Articles | My Profile


                          "You will always find me near 127.0.0.1"

                          modified on Monday, November 1, 2010 7:00 AM

                          N Offline
                          N Offline
                          NMehta83
                          wrote on last edited by
                          #12

                          Follow the procedure click '4' click 'sqrt' click '-'(Minus sign) click '2' ('-8.1648465955514287168521180122928e-39') click '+' click '2' Answer should be 2 and It shows 2 only :~

                          NMehta83 “We cannot fail until we fail to try”

                          H L 2 Replies Last reply
                          0
                          • B Bassam Abdul Baki

                            The Windows PowerToy Calc is slightly better.

                            Sqrt(4) - 2 = 3.9378992339362513964719291444358459196643504626684867133312775132667336556050866493546387304075566414818330038038295060147049046413138657775207384487209999618622897470743768272532233306387808895650314543995525529065482320548203801311885605071904357825187703782014895108614888708459734293476714554362468810447809428975260776308251921152998341440712577547187250299521717400700236027297480547576700432251758684242034663903791398932294256110257450914185948984125441052563042008394844537793781156975099171360793772881e-532

                            Web - BM - RSS - Math - LinkedIn

                            H Offline
                            H Offline
                            Hiren solanki
                            wrote on last edited by
                            #13

                            It's hard to give you 5 . :laugh:

                            Rating is Always appreciated.
                            Regards,
                            Hiren Solanki.
                            Indian Forum | My Articles | My Profile


                            "You will always find me near 127.0.0.1"

                            D B 2 Replies Last reply
                            0
                            • H Hiren solanki

                              It's hard to give you 5 . :laugh:

                              Rating is Always appreciated.
                              Regards,
                              Hiren Solanki.
                              Indian Forum | My Articles | My Profile


                              "You will always find me near 127.0.0.1"

                              D Offline
                              D Offline
                              Dalek Dave
                              wrote on last edited by
                              #14

                              Give him a 4.958468546513654646854968435146814612321687 instead.

                              ------------------------------------ I will never again mention that I was the poster of the One Millionth Lounge Post, nor that it was complete drivel. Dalek Dave CCC League Table Link CCC Link[^]

                              N 1 Reply Last reply
                              0
                              • D Dalek Dave

                                Give him a 4.958468546513654646854968435146814612321687 instead.

                                ------------------------------------ I will never again mention that I was the poster of the One Millionth Lounge Post, nor that it was complete drivel. Dalek Dave CCC League Table Link CCC Link[^]

                                N Offline
                                N Offline
                                NMehta83
                                wrote on last edited by
                                #15

                                For this answer i will give you +5 :laugh:

                                NMehta83 “We cannot fail until we fail to try”

                                H D 2 Replies Last reply
                                0
                                • H Hiren solanki

                                  It's hard to give you 5 . :laugh:

                                  Rating is Always appreciated.
                                  Regards,
                                  Hiren Solanki.
                                  Indian Forum | My Articles | My Profile


                                  "You will always find me near 127.0.0.1"

                                  B Offline
                                  B Offline
                                  Bassam Abdul Baki
                                  wrote on last edited by
                                  #16

                                  Clicking the 5 is hard for you?

                                  Web - BM - RSS - Math - LinkedIn

                                  H 1 Reply Last reply
                                  0
                                  • B Bassam Abdul Baki

                                    Clicking the 5 is hard for you?

                                    Web - BM - RSS - Math - LinkedIn

                                    H Offline
                                    H Offline
                                    Hiren solanki
                                    wrote on last edited by
                                    #17

                                    It takes half and hour to reach to rating link. :laugh:

                                    Rating is Always appreciated.
                                    Regards,
                                    Hiren Solanki.
                                    Indian Forum | My Articles | My Profile


                                    "You will always find me near 127.0.0.1"

                                    N 1 Reply Last reply
                                    0
                                    • N NMehta83

                                      For this answer i will give you +5 :laugh:

                                      NMehta83 “We cannot fail until we fail to try”

                                      D Offline
                                      D Offline
                                      Dalek Dave
                                      wrote on last edited by
                                      #18

                                      Amd yet you haven't!

                                      ------------------------------------ I will never again mention that I was the poster of the One Millionth Lounge Post, nor that it was complete drivel. Dalek Dave CCC League Table Link CCC Link[^]

                                      N 1 Reply Last reply
                                      0
                                      • N NMehta83

                                        For this answer i will give you +5 :laugh:

                                        NMehta83 “We cannot fail until we fail to try”

                                        H Offline
                                        H Offline
                                        Hiren solanki
                                        wrote on last edited by
                                        #19

                                        NMehta83 wrote:

                                        i will give you +5

                                        It's 10 minute already, still not deposited :laugh:

                                        Rating is Always appreciated.
                                        Regards,
                                        Hiren Solanki.
                                        Indian Forum | My Articles | My Profile


                                        "You will always find me near 127.0.0.1"

                                        1 Reply Last reply
                                        0
                                        • H Hiren solanki

                                          It takes half and hour to reach to rating link. :laugh:

                                          Rating is Always appreciated.
                                          Regards,
                                          Hiren Solanki.
                                          Indian Forum | My Articles | My Profile


                                          "You will always find me near 127.0.0.1"

                                          N Offline
                                          N Offline
                                          NMehta83
                                          wrote on last edited by
                                          #20

                                          Now have my another +5 :laugh:

                                          NMehta83 “We cannot fail until we fail to try”

                                          1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • World
                                          • Users
                                          • Groups