Slashdot Mirror


Excel 2007 Multiplication Bug

tibbar66 writes with news of a serious multiplication bug in Excel 2007, which has been reported to the company. The example that first came to light is =850*77.1 — which gives a result of 100,000 instead of the correct 65,535. It seems that any formula that should evaluate to 65,535 will act strangely. One poster in the forum noted these behaviors: "Suppose the formula is in A1. =A1+1 returns 100,001, which appears to show the formula is in fact 100,000... =A1*2 returns 131,070, as if A1 had 65,535 (which it should have been). =A1*1 keeps it at 100,000. =A1-1 returns 65,534. =A1/1 is still 100,000. =A1/2 returns 32767.5."

806 comments

  1. Microsoft just announced plans for their fix by Anonymous Coward · · Score: 5, Funny

    They will be disabling multiplication in all future versions of Excel.

    1. Re:Microsoft just announced plans for their fix by hedkandee · · Score: 1

      Maybe we can report a bug in windows version numbers, I never figured out what happend to windows 4-94, 96, 97 and 99-1999

      --
      Up for it.
    2. Re:Microsoft just announced plans for their fix by Tablizer · · Score: 0, Troll

      They will be disabling multiplication in all future versions of Excel.

      But first they got a patent on it and sent cease and desist letters. The Hindu's are suing over prior art from 1005.

    3. Re:Microsoft just announced plans for their fix by KUHurdler · · Score: 2, Funny

      Maybe this is just simplifying the answer to life, the universe and everything. http://en.wikipedia.org/wiki/The_Answer_to_Life,_the_Universe,_and_Everything

      --
      Fix Your Own TV - RiddledTV.com Avoid the Landfill
    4. Re:Microsoft just announced plans for their fix by cloricus · · Score: 5, Funny

      It is nice to see that since this is a free and open standard that the bug has been identified quickly and fixed.

      Oh wait, it isn't and the bug is still at large. Sorry, jumped the gun there due to the speed at which the Open Source community usually fixes issues like this. Maybe ISO should take note.

      --
      I ate your fish.
    5. Re:Microsoft just announced plans for their fix by hawkbug · · Score: 2, Insightful

      Right, he was joking dumb ass.

    6. Re:Microsoft just announced plans for their fix by Waffle+Iron · · Score: 5, Funny
      Microsoft already has a patch in the works to help users overcome this issue. Whenever the user types a '*' in a formula, an animated sprite of Charles Babbage's head will pop up. It will show this bubble caption:

      "It looks like you're trying to multiply two numbers. I can help show you how to use the Method of Finite Differences to find a good approximation of your answer using only addition and subtraction. Would you like me to bring up a wizard so that we can get started on finding an appropriate power series?"

    7. Re:Microsoft just announced plans for their fix by Bionic+Vapour+Boy · · Score: 4, Funny

      This doesn't work either: =850/(1/77.1) So they have to disable the divide-operation altogether.

    8. Re:Microsoft just announced plans for their fix by jkrise · · Score: 5, Funny

      They will be disabling multiplication in all future versions of Excel.

      No, no, no... remember this is effectively Office Vista.. so the fix will be, like:

      You are trying to multiply 2 numbers and the answer is 65535. This is a very dangerous multiplication frequently used in viruses... Cancel / Allow?

      --
      If you keep throwing chairs, one day you'll break windows....
    9. Re:Microsoft just announced plans for their fix by Bionic+Vapour+Boy · · Score: 2, Interesting

      In fact even this 1/77.1 doesn't work. So the bug isn't 65,534-bug, it's floating point bug. I even re-checked the calculations with Microsoft Calculator.

    10. Re:Microsoft just announced plans for their fix by Bionic+Vapour+Boy · · Score: 1

      "So the bug isn't 65,534-bug, it's floating point bug" To be honest, it's very likely that there are many bugs.

    11. Re:Microsoft just announced plans for their fix by Chainsaw · · Score: 5, Funny

      Windows 4: "Oh, man. The previous one was garbage, but this one is making me physically ill."
      Windows 5: "What the hell have you done? Delete it! Delete it!"
      ...
      Windows 95: "Fuck it, we have to release this steaming pile of crap now.

      Just a theory...

      --
      War is one of the most horrible things a human can be exposed to. And one of the worlds largest industries.
    12. Re:Microsoft just announced plans for their fix by Anonymous Coward · · Score: 0

      Oh no... How are you going to calculate those powers without multiplication?

    13. Re:Microsoft just announced plans for their fix by thealsir · · Score: 2, Interesting

      I know that one of the main spreadsheet enhancements in '07 was the ability to have 1,048,576 rows instead of 65,536. It seems like somewhere in testing M$ used the old bounds, and forgot to check for the new ones. Or some functions are hard-coded to the old bounds instead of the new ones. Either way, sloppy and un-M$ office like (okay, maybe very M$).

      --
      Do not downmod posts "overrated" simply because you disagree with them.
    14. Re:Microsoft just announced plans for their fix by Anonymous Coward · · Score: 0

      uh, precalc? 2 gigabytes of it, sitting on your hard-drive?

    15. Re:Microsoft just announced plans for their fix by edittard · · Score: 4, Funny

      What you need is specialised hardware.

      --
      At the bottom of the /. main page it says 'Yesterday's News'. Well they got that right.
    16. Re:Microsoft just announced plans for their fix by Anonymous Coward · · Score: 0, Insightful

      Why is this modded Insightful?

    17. Re:Microsoft just announced plans for their fix by Anonymous Coward · · Score: 0, Flamebait

      No idea - the modding on this particular article seems decidedly weird... maybe there's something sinister as well. Insightful posts get modded Funny, Funny (or attempts to be funny) get modded Insightful etc.

    18. Re:Microsoft just announced plans for their fix by Opportunist · · Score: 3, Insightful

      ...and if you click allow and get the wrong result, then it's all your fault.

      --
      We used to have a Bill of Rights. Now, with the rights gone, all we have left is the bill.
    19. Re:Microsoft just announced plans for their fix by Lillesvin · · Score: 1

      Yeah, and in MSN Messenger as well, where they'll just censor out anything multiplication-related. :-p

      --
      "Live free or don't."
    20. Re:Microsoft just announced plans for their fix by nschubach · · Score: 5, Funny

      Maybe the mod points are being run through Excel before being applied to posts.

      --
      Every time I start to have faith in humanity, I ruin it by driving to work between 7 and 8 am.
    21. Re:Microsoft just announced plans for their fix by rvw · · Score: 1

      They probably forgot to display the result as decimal?

    22. Re:Microsoft just announced plans for their fix by ednopantz · · Score: 1

      Bugs get fixed instantly in FOSS? Awesome! That means my Firefox isn't hanging after being used more than an hour.

    23. Re:Microsoft just announced plans for their fix by Bibz · · Score: 1

      Yeah i though of that also, but shouln't it be the other way around ? i.e. a multiplication that should give 100 000, but we get 65 536 instead ?

      --
      I didn't found something funny to put here.
    24. Re:Microsoft just announced plans for their fix by Anonymous Coward · · Score: 0

      I'm willing to accept a salary cut from 66000 to 65535 this year...

      --E

    25. Re:Microsoft just announced plans for their fix by Anonymous Coward · · Score: 1, Insightful

      Fixing time is proportional to the coolness points you get for fixing the bug.

    26. Re:Microsoft just announced plans for their fix by DarkSarin · · Score: 1

      I'll have to test this when I get home--mostly replying to cancel my mismoderation.

      I will check the problem later on.

      As a side not--when will Excel allow for arbitrary base conversion as a standard conversion. I've found several VBS functions that will allow this up to base 36 (which is good for all numbers+letters in standard English), but I'd really like to permit this up to base 60 (suggestions on appropriate characters post 35 would be nice). I have a few things that I'm trying to do that would be nice if I could do base conversions easily

      --
      "We don't know what we are doing, but we are doing it very carefully,..." Wherry, R.J. Personnel Psychology (1995)
    27. Re:Microsoft just announced plans for their fix by CarpetShark · · Score: 5, Funny

      You are trying to multiply 2 numbers and the answer is 65535. This is a very dangerous multiplication frequently used in viruses... Cancel / Allow?


      Oh, is that how it works? I thought it wouldn't show you answers above 255, unless you have a HDCP-compliant monitor.
    28. Re:Microsoft just announced plans for their fix by plague3106 · · Score: 1

      You mean how quickly the FF memory leaks have been fixed? Or how quickly problems with ADM 64-bit + certain HD interface were fixed?

    29. Re:Microsoft just announced plans for their fix by Anonymous Coward · · Score: 0

      suggestions on appropriate characters post 35 would be nice

      you're kidding, right? how's this - [0-9] + [a-z] + [A-Z] => 62 characters.

    30. Re:Microsoft just announced plans for their fix by superiority · · Score: 1

      Case-sensitivity, perhaps? That is, 0-9, A-Z, a-x.

    31. Re:Microsoft just announced plans for their fix by Anonymous Coward · · Score: 0

      Good god i nearly died from choking while i laughed at that.

      Well hey, at least it would be better than seeing Clippy again ._.

    32. Re:Microsoft just announced plans for their fix by jrumney · · Score: 1

      I'd have thought that the fix would be the same as the 1900 leap year bug - codify it in the standard for OOXML.

    33. Re:Microsoft just announced plans for their fix by Anonymous Coward · · Score: 0

      hahahah

    34. Re:Microsoft just announced plans for their fix by smchris · · Score: 1

      You forgot DOS 6.0 and it's amusing data killer features.

    35. Re:Microsoft just announced plans for their fix by BrokenHalo · · Score: 1

      So what's wrong with that? I still use mine.

      But I was going to suggest an abacus...

    36. Re:Microsoft just announced plans for their fix by FelixGordon · · Score: 4, Informative

      It looks more like the result of an overflow error at some stage of the calculation, since 65535 is the maximum value an unsigned 16 bit integer can hold.

    37. Re:Microsoft just announced plans for their fix by mdwh2 · · Score: 2, Funny

      I'm similarly amused by the lack of Mac OS X 1-9; or alternatively, the lack of Mac OS I-IX.

      I look forward however to Mac OS X 11, or will it be Mac OS XI 11?

    38. Re:Microsoft just announced plans for their fix by rspress · · Score: 1

      Steve Balmer said that too much is being made about this "feature" of excel. "How important are math operations in spreadsheets anyway" he stated while the pit stains in his shirt grew in size.

      Does this trace back to the old Windows calculator bug? 2.00 -.02=?

      I wonder if this has cost companies any money. I can't test this on my computer as I am using NeoOffice.

    39. Re:Microsoft just announced plans for their fix by chefmonkey · · Score: 2, Insightful

      Ermmm... It's spelled "OS X" and pronounced "oh ess ten". OS 1 - 9 did exist; they simply weren't designated with Roman numerals.

      http://en.wikipedia.org/wiki/OS_X#Versions

    40. Re:Microsoft just announced plans for their fix by holymodal · · Score: 1

      I prefer "Ossix". More specifically, Ossix ten and four tenths. http://youtube.com/watch?v=W-ctuGBYKq4

    41. Re:Microsoft just announced plans for their fix by Anonymous Coward · · Score: 0

      But after this, how can you be sure that you can trust Microsoft Calculator?

    42. Re:Microsoft just announced plans for their fix by mdwh2 · · Score: 1

      I know, and you missed my point. I am aware of basic Roman numerals, thanks ;)

      Currently, as your link shows, Apple market their OS as: "OS X v10.something" which, as you say, is like saying "OS 10 v10.something". So we have the confusion as to whether "X" is now part of the brand name, or whether X is the version number, in which case the version number is always given twice. It's like Windows 95 95 (XCV 95?) or Windows Vista Vista. (I must admit, I always say "OS Ecks 10.something" - do people really say "Mac OS 10 10.something"?)

      My point was then, what will happen if they ever need to increment the major version? In the former case we will have Mac OS X 11.something. In the latter, it will be Mac OS XI 11.something. Given the strong association of "OS X" as the brandname, it may well be the former (alternatively they may avoid the issue and switch to a new name entirely).

    43. Re:Microsoft just announced plans for their fix by bcattwoo · · Score: 1

      Sounds like a coincidence to me. I know this is MS but WTF would the limit on the number of rows have to do with multiplying some numbers within a single cell?

    44. Re:Microsoft just announced plans for their fix by ragefan · · Score: 1

      I'm similarly amused by the lack of Mac OS X 1-9; or alternatively, the lack of Mac OS I-IX. I look forward however to Mac OS X 11, or will it be Mac OS XI 11?

      You would be incorrect. Macintosh operating system versions 1 thru 7 were designated as "System (version)"

      With version 8, came the "Mac OS 8" moniker and has continued through versions 9 and 10 (which uses the roman numeral for ten, X).

      Mac history
    45. Re:Microsoft just announced plans for their fix by Cobralisk · · Score: 2, Funny

      But windows isn't case sensitive!

      --
      Waiting for ad.doubleclick.net...
    46. Re:Microsoft just announced plans for their fix by Kozar_The_Malignant · · Score: 1

      You forgot DOS 6.0 and it's amusing data killer features.

      It deleted all memory of itself from my brain. Fortunately, I installed DR DOS shortly thereafter.

      --
      Some mornings it's hardly worth chewing through the restraints to get out of bed.
    47. Re:Microsoft just announced plans for their fix by Ilgaz · · Score: 1

      I don't like Firefox or their very close relations with Google but I must say as it is an open source, no charge software, they expect users to report memory leakage issues to bugzilla so they can fix them.

      You can't sit there with your rare AMD64 and certain HD and expect a magical fix. Trying to describe how it goes.

      Same on Apple Safari and even Opera too. Opera found the issue with Slashdot Beta and fixed in 9.5. What if everyone stayed silent and flamed them on Slashdot instead?

    48. Re:Microsoft just announced plans for their fix by p0tat03 · · Score: 1

      I *do* report bugs to the Firefox bug DB, and you know what? Every single one has been responded with "ok, fixed for FF3". What, the world somehow lost the ability to do point updates for large, annoying bugs? Why is it that we have to wait for FF3 (or worse, run the unstable CVS copy) just to have some critical fixes?

      To the end user, the Firefox bug fix rate is the same as MS. While Firefox may get the fix committed to CVS earlier, the result for the end user is still a ridiculous wait to get a basic, critical bug fixed in a public release. Instead of touting how quickly a fix makes it into CVS, let's do a survey on average time for a bug to go from reported to *fixed on the end user machine*?

    49. Re:Microsoft just announced plans for their fix by MurphyZero · · Score: 1

      If nothing else treat each 'number' as two characters and use A-F (or 0-5) followed by 0-9, similar to how base 255 is displayed, two hex next to each other. By always using two characters, parsing it should be simple.

      --
      Our founding fathers removed the guys in charge. Be American. Vote incumbents out.
    50. Re:Microsoft just announced plans for their fix by Ilgaz · · Score: 1

      Well, I gave up on them on Mozilla 0.x something ages and moved to smaller open source/commercial browser projects which can't be "great" as their products but a real tight and responsive/friendly developer community.

      I don't know your OS but perhaps you should look to other alternatives if they really insist not fixing a properly documented bug which has something to do with memory or hardware.

      I was speaking in general, e.g. Mac OS X users flaming them on Versiontracker but can't be bothered to report issues to where it belongs.

    51. Re:Microsoft just announced plans for their fix by Anonymous Coward · · Score: 1, Funny

      But I was going to suggest an abacus...

      but then people would find out exactly how slow Office 2007 really is!

    52. Re:Microsoft just announced plans for their fix by Impy+the+Impiuos+Imp · · Score: 1

      > Oh wait, it isn't and the bug is still at large. Sorry, jumped the gun there due to the
      > speed at which the Open Source community usually fixes issues like this. Maybe ISO should take note.

      I'm fine with smartassery, really. However, do you really want to bet which community will have a fix actually widely installed on its community base first?

      --
      (-1: Post disagrees with my already-settled worldview) is not a valid mod option.
    53. Re:Microsoft just announced plans for their fix by davidsyes · · Score: 1
      --
      Previously: "Linux... Toward the Sunrise..." Now: "Linux... Toward the-- No, now, part of Every Sunrise"
    54. Re:Microsoft just announced plans for their fix by Anonymous Coward · · Score: 0

      I really don't see the problem here. Excel only works with 65535 rows at most so there is absolutely no reason that you would ever need to work with this number! At least that's what I was thinking when I was writing the code for Excel. I'm gonna have to blame this on user error.

    55. Re:Microsoft just announced plans for their fix by Impy+the+Impiuos+Imp · · Score: 1

      Come on, dammit! This is the funniest post in an already hillarious thread!

      --
      (-1: Post disagrees with my already-settled worldview) is not a valid mod option.
    56. Re:Microsoft just announced plans for their fix by ArsonSmith · · Score: 1

      Windows is a case insensitive clod?

      --
      Paying taxes to buy civilization is like paying a hooker to buy love.
    57. Re:Microsoft just announced plans for their fix by PitaBred · · Score: 2, Insightful

      See, I use Firefox all day, every day, and I have yet to have an issue with it. So you aren't reporting "showstopper" bugs, that NEED to be fixed in the current version. You're reporting "nice to have" bugs that will be fixed in a future version. And as soon as FF3.0 is out, you'll have to shell out an arm and a leg to get it, so you're locked into their upgrade path... wait, what? It's free you say? Well shit, they're taking your suggestions seriously, incorporating it into a world-class product, and giving it to you for free!?! Those bastards!

    58. Re:Microsoft just announced plans for their fix by Fizzl · · Score: 1

      Coder: Hmm... MAX_CELLS is set to bounds of 16bit integer already. Why declare again, I can use that define isntead of making another for OBSCURE_MATHEMATICAL_BOUND_ FOR_OPERATION_WHICH_IS_MANUALLY_FLIPPED_ONCE_BOUNDS_ARE_MET

    59. Re:Microsoft just announced plans for their fix by evil_Tak · · Score: 0, Flamebait

      Why is it that we have to wait for FF3 (or worse, run the unstable CVS copy) I think you just answered it right there.
      There are a lot of things involved in a release; they're not going to do a code freeze, strings freeze, etc., every time they fix a bug that annoys somebody. If you really want it now, you're perfectly able to get the fix from CVS and backport it to your copy.
    60. Re:Microsoft just announced plans for their fix by mrchaotica · · Score: 1

      The real question is, what the fuck is Microsoft doing using 16-bit integers for this kind of thing on a 32-bit system anyway?!

      --

      "[Regarding the 'cloud,'] ownership was what made America different than Russia." -- Woz

    61. Re:Microsoft just announced plans for their fix by plague3106 · · Score: 1

      I don't like Firefox or their very close relations with Google but I must say as it is an open source, no charge software, they expect users to report memory leakage issues to bugzilla so they can fix them.

      They until recently denied any such problems existed. People have been submitting bugs, but nothign was getting done.

      You can't sit there with your rare AMD64 and certain HD and expect a magical fix. Trying to describe how it goes.

      AMD 64 + IDE drive (or SCSI, I forget) is rare? I don't run Linux, so I don't have this problem, but its been mentioned here before. Also, that issue has apparently been reported as well, but has persisted for quite some time.

      Same on Apple Safari and even Opera too. Opera found the issue with Slashdot Beta and fixed in 9.5. What if everyone stayed silent and flamed them on Slashdot instead?

      People aren't staying silent, they are being ignored.

    62. Re:Microsoft just announced plans for their fix by plague3106 · · Score: 1

      I close it regularly, but I hit an issue with it almost every day. Posting to any Community Server hosted site, FF will mysterously peg at 100% CPU and stop responding (fortunately, I have dual cores).

      Imagine the outrage here if IE did the same thing? Smells like a double standard to me. IE is free on my Windows machine too, don't act like FF should be given more slack.

    63. Re:Microsoft just announced plans for their fix by einhverfr · · Score: 1

      What is strange is that VBE sees the correct values. So it seems to be some sort of rendering issue in the conversion to *text* and some of the calculations seem to use the wrong value.

      --

      LedgerSMB: Open source Accounting/ERP
    64. Re:Microsoft just announced plans for their fix by Bert64 · · Score: 1

      However new versions don't cost money...
      There really is no reason to divert developer time away from writing the new version, to fix up the old one, excepting security problems of course.

      --
      http://spamdecoy.net - free throwaway anonymous email - avoid spam!
    65. Re:Microsoft just announced plans for their fix by fyngyrz · · Score: 1

      Oh no... How are you going to calculate those powers without multiplication?

      Add. A lot.

      --
      I've fallen off your lawn, and I can't get up.
    66. Re:Microsoft just announced plans for their fix by kbielefe · · Score: 1

      Why is it that we have to wait for FF3 (or worse, run the unstable CVS copy) just to have some critical fixes?

      The short answer is you don't. If you don't have the skills to backport it yourself, you can pay someone to do it for you. The long answer is that not everyone has the same idea of an urgent fix as you do, and there is a limited amount of resources.

      I occasionally wonder if an ultra-stable linux distribution would be feasible. Basically, you would only add bug fixes, but do it quickly. I did this for a while with just my kernel back in 2.4 days. A feature change was made that broke a third-party patch I needed for some commercial software from work, so I manually backported the security fixes for the several months it took for the third party to get its act together.

      The side effect was that I had an extremely stable kernel, and sometimes my system had security fixes even before a change was checked in, just from reading the posts to the mailing list. The downside, of course, was a lot of manual effort.

      --
      This space intentionally left blank.
    67. Re:Microsoft just announced plans for their fix by p0tat03 · · Score: 4, Insightful

      Typical Slashdot. In the end the vast majority of people who use Firefox aren't even coders. You seriously want them to grab the fix from CVS and backport it to their own copy? My God man, these people don't even know what make does, and what are you suggesting?

      There's nothing for open source apologists to gloat about when it comes to software fixes. As far as any normal user is concerned, bug fixes take just as long to come down the pipe as proprietary software. Nobody gives a hoot if it's fixed in CVS, if it's not fixed on their machine it's not fixed at all.

    68. Re:Microsoft just announced plans for their fix by macdaddy · · Score: 1

      Actually "OS 1-7" didn't exist. Mac operating systems prior to 7.6 were named "System X.Y". Beginning with 7.6 the Mac operating system releases were named with "Mac OS X.Y" so Mac OS 7.6. So technically there was a Mac OS 8, Mac OS 9 (and all the minor revs of 7.6.x, 8 & 9), and then came the Roman numeral Mac OS X releases. There was also a Mac OS Server. Not to nitpick. My nick says it all.

    69. Re:Microsoft just announced plans for their fix by chefmonkey · · Score: 1

      I bow before your encyclopedic knowledge. (Well, really, I was just kind of sloppy, since the Wikipedia article gets into this bit of naming history...)

    70. Re:Microsoft just announced plans for their fix by hawk · · Score: 1

      Once, again, "innovating" by replicating a bug . . .

      In the early 80's, Calc Star (is that the right name for the DB that was matched to wordstar?) would correctly calculate and display a negative result--but then treat it as a positive value for further calculation.

      I knew the engineer that reported it--they actually got angry at him!

      hawk

    71. Re:Microsoft just announced plans for their fix by alc6379 · · Score: 1

      Imagine the outrage here if IE did the same thing? Smells like a double standard to me. IE is free on my Windows machine too, don't act like FF should be given more slack.


      It's not a double standard. You paid for Windows, and IE was a component included in the price of Windows. Firefox, on the other hand, is something that you had to acquire yourself from a source that was freely offering it. Free != included in cost .

      Try reporting a bug to Microsoft. How long will anything that's not a critical security fix take to get resolved? How long a period of time elapsed between the releases of IE 6 and IE 7? I'll bet the answer to both questions are pretty similar...
      --
      I don't moderate anymore. Karma penalty for 90% fair mods? Can I mod that unfair?
    72. Re:Microsoft just announced plans for their fix by hawk · · Score: 1

      >but I'd really like to permit this up to base 60

      Enough's enough with these illegal aliens. Demanding that we accommodate language was bad enough; now the illegal Babylonians want us to accommodate their arithmetic??? :)

      hawk

    73. Re:Microsoft just announced plans for their fix by gd2shoe · · Score: 1

      He was at least half joking (though I believe it).

      The joke is, if Microsoft products cannot agree with themselves, then at least one of them IS broken.

      --
      I won't join Slashcott. OTOH, If Beta goes live, I just won't be back until it's fixed. Sorry Dice.
    74. Re:Microsoft just announced plans for their fix by Anonymous Coward · · Score: 0

      Windows 96: "What are we thinking?" ...
      Windows 560: "We have to get it to work right eventually" ...
      Windows 2000: "Holy crap, it compiled! Ship it."

    75. Re:Microsoft just announced plans for their fix by mdwh2 · · Score: 1

      I know all that. I honestly can't see how your comment relates to mine - what am I incorrect about?

      See my later comment for a long-winded explanation. I was being flippant, just like the post I replied to was joking about Windows version numbers (I imagine he is probably aware that 95 in "Windows 95" was short for 1995, and doesn't need someone to point that out to him...)

    76. Re:Microsoft just announced plans for their fix by edittard · · Score: 1

      What, work with fixed-point only? Are we back in 1983?

      --
      At the bottom of the /. main page it says 'Yesterday's News'. Well they got that right.
    77. Re:Microsoft just announced plans for their fix by macdaddy · · Score: 1

      LOL. Unfortunately my knowledge extends to now useless classic Mac knowledge. Now if I could get on Jeopardy or the Wheel of Fortune and get them to ask questions about old Macs then I'd be raking in the green.

    78. Re:Microsoft just announced plans for their fix by Tacvek · · Score: 1

      You sound like you are describing Debian's stable distribution (except for the quickly part). The point releases never contain new versions of the programs. They only contain backports of fixes to major bugs. There is also the security repository that works by posting fixed versions of programs with security problems, once again, done by back-porting the changes. the security fixes are done quickly. But the non-security bug fixes found in the point releases are not quick. (After all they need to be tested for stability).

      --
      Stylish sheet to fix many problems in Slashdot's D3: https://gist.github.com/801524
    79. Re:Microsoft just announced plans for their fix by QuietObserver · · Score: 1

      For the same reason the 64 bit version of Windows can't deal with 32 bit code while every other 64 bit OS can; they're lazy.

    80. Re:Microsoft just announced plans for their fix by QuietObserver · · Score: 1

      What did Excel and Microsoft Calculator return for 1/77.1? My calculator (an HP), returned .0129701686122.

    81. Re:Microsoft just announced plans for their fix by QuietObserver · · Score: 1

      What I'd like to know is how your post, which says next to nothing even remotely threatening, at least to me, got modded as Flamebait. Maybe because the modders think you're threatening them.

    82. Re:Microsoft just announced plans for their fix by Anonymous Coward · · Score: 0

      Yes because open source has proven it is faster at getting fixes out the door. Oh wait, it has't

      http://blogs.csoonline.com/days_of_risk_in_2006

    83. Re:Microsoft just announced plans for their fix by piyushranjan · · Score: 1

      I have found around 12000 such number pairs were this bug occurs. Here is a link to my blog where I have posted a few thousand. http://pranjan.blogspot.com/2007/09/i-found-12000-recurrence-of-excel-2007.html Here is the ruby code to get a list of these numbers(however seems my pattern si not completely correct as only 12000 of the 72000 of these number pairs are actually reproducing the bug) http://pranjan.blogspot.com/2007/09/ruby-code-for-unearthing-vista.html

    84. Re:Microsoft just announced plans for their fix by dropper14 · · Score: 1

      It can be almost done with this util: http://reverse-engineer.info/

    85. Re:Microsoft just announced plans for their fix by Agripa · · Score: 1

      It is not really a bug if programs adhering to the OOXML standard have to duplicate this behavior.

    86. Re:Microsoft just announced plans for their fix by blirp · · Score: 1
      As far as any normal user is concerned, bug fixes take just as long to come down the pipe as proprietary software.

      That's just wrong. Simply and plainly. When and update to any of my installed applications is available, a little star will show up on my desktop announcing that 'OpenOffice is ready for update' (or whatever). There will be no indication of the available upgrade for Excel.

      M.

    87. Re:Microsoft just announced plans for their fix by rynoski · · Score: 1

      When MS release their fix a little yellow thing will pop up in the systray saying updates are available.
      It is almost exactly the same - you need to wait for the vendor to supply you with an update.

      --
      There are two types of people in the world: 1) those that can extrapolate from incomplete data.
  2. In OOXML? by gvc · · Score: 4, Funny

    Perhaps this is how multiplication is done in OOXML. They do leap years in dates wrong, too.

    1. Re:In OOXML? by Anonymous Coward · · Score: 0

      Thats why alternatives such as Matlab, SigmaPlot and OpenOffice are much preferred to Excel where I work.

    2. Re:In OOXML? by Anonymous Coward · · Score: 5, Insightful

      I use Matlab and Octave constantly for things everyone around me uses Excel for (I do structural engineering). I am no amazing hacker or anything, but I simply find it scads easier to use that sort of paradigm over the spreadsheet analogy for almost any application. That aside, Excel in particular seems constantly to try to outthink me and consistently to have these sorts of strange calculation errors.

    3. Re:In OOXML? by XenoPhage · · Score: 2, Insightful

      Huh.. Excel works fine where I work. They have all sorts of network drawings in Excel...

      What? Hey, stop laughing. I'm serious! You should see these things.. Massive diagrams all built using the draw toolbar in Excel...

      Personally, I've found Visio to work out nicely for network drawings, but apparently the other engineers like Excel...

      Speaking of which.. Anyone know of a decent OSS replacement for Visio? And no, dia doesn't count. It's nowhere near what Visio does. Nor does it save a Visio compatible file.

      --
      XenoPhage
      Technological Musings
    4. Re:In OOXML? by Anonymous Coward · · Score: 0

      Never used Visio, but ran screaming away from dia.

      Have settled on inkscape. Native SVG format means Mozilla can (sorta) display the files directly. Just enable the grids/snapping and learn the grouping hotkeys, and it'll be a very useful tool for doing quick diagrams.

      Good enough for me, but your mileage may vary.

    5. Re:In OOXML? by AvitarX · · Score: 2, Informative

      I like Kivio (probably same complaints as Dia though)

      Has stencil sets available for cheap too.

      --
      Wow, sent an e-mail as suggested when clicking on "use classic" banner, and got a fast response that addressed my msg
    6. Re:In OOXML? by mikkelm · · Score: 2, Interesting

      Visio is great for network diagrams. Unless you have 1000+ nodes with new ones added every day. For network diagrams, you really need something where the diagram is plotted from the data, not where the data is plotted onto the diagram.

    7. Re:In OOXML? by Anonymous Coward · · Score: 1, Informative
      Anyone know of a decent OSS replacement for Visio?

      I'm fond of Umbrello. But that replaces a completely different set of functionality from Visio.

    8. Re:In OOXML? by sg_oneill · · Score: 1

      Ifs its doing any sort of auto-layout (No idea , never used visio), expect that. The sort of graph mathematics that network diagramming algorithms use tends to be messy and intensive.

      --
      Excuse the Unicode crap in my posts. That's an apostrophe, and slashdot is busted.
    9. Re:In OOXML? by Machtyn · · Score: 1

      Perhaps argoUML? Granted, I don't think it saves Visio compatible files.

    10. Re:In OOXML? by Anonymous Coward · · Score: 0

      You're just trolling or just looking for an excuse not to use other brands. MS maintains its lock-in via undocumented formats and most teams just don't get the ROI trying to reverse engineer MS' undocumented specs. That goes especially once the other team shows up on MS radar and MS starts throwing more random changes to the format to make it an undocumented moving target. Nothing saves in a "Visio compatible" file format. Get over it and move on.

    11. Re:In OOXML? by mennucc1 · · Score: 5, Funny

      Perhaps this is how multiplication is done in OOXML. They do leap years in dates wrong, too. oh my, it is clearly spelled on page 890 of the draft:
      to retain backward compatibility with MSDOS 16bit mode, the operands of any multiplication that may exceeds a 16 bit boundary must be converted to farsi and multiplied using an abacus emulator, as per sec (II)par alpha comma 2; the result may or may not appear in Windows Genuine Octal Format (a.k.a. fake octal - that is octal without the leading zero and minus 1) for added convenience of EndUser(tm).
    12. Re:In OOXML? by L'homme+de+Fromage · · Score: 2, Informative
      I hope you're not using octave for any combinatorial computations:

      octave:1> printf ("%20d\n",nchoosek(55,27))
          3824345300380179
      The correct answer is 3824345300380220, which R gives correctly:

      > options(digits = 20)
      > choose(55,27)
      [1] 3824345300380220
      Note that after a bunch of cancellations that 55!/(27!*28!) comes out to be

      53*47*43*41*37*34*31*29*11*7*5*2

      so the 5*2 at the end guarantees that the answer will end in a 0.
    13. Re:In OOXML? by gravij · · Score: 1

      Perhaps this is how multiplication is done in OOXML. Well I looked in the OOXML but it seems to get it right.

      The bug "works" for me (i.e., I get 100000 instead of 65534), and below is a snippet from the xml file. It seems to show that the maths is correct, and the screw up occurs only when displayed.

      - <c r="C2">
      <f>850*(10+67.1)</f>
      <v>65534.999999999993</v> <-- Displays as 100000
      </c>

      - <c r="D2">
      <f>C2+2</f>
      <v>65537</v> <-- Displays as 100001
      </c>

      - <c r="E2">
      <f>C2-1</f>
      <v>65533.999999999993</v> <-- Displays as 65534
      </c>

      - <c r="D3">
      <f>C2/1</f>
      <v>65534.999999999993</v> <-- Displays as 100000
      </c>
      - <c r="E3">
      <f>C2*1</f>
      <v>65534.999999999993</v> <-- Displays as 100000
      </c>
    14. Re:In OOXML? by Obsi · · Score: 0

      Not even other versions of Visio, if Word's any indication.

    15. Re:In OOXML? by Tuoqui · · Score: 1

      They do leap years in dates wrong, too.

      No its just that the formula for calculating leap years and such is patented and we're waiting for the patent to expire.

      --
      09F911029D74E35BD84156C5635688C0
      +2 Troll is Slashdot's way of saying groupthink is confused
    16. Re:In OOXML? by Anonymous Coward · · Score: 1, Interesting

      Actually, this does: http://www.omnigroup.com/applications/omnigraffle/pro/ Quote: OmniGraffle Professional 4 now uses the recently-opened Visio XML schemas, so there have been many improvements to the Visio XML import/export function, and some of the newer feature sets (such as the Bezier drawing tool) bring OmniGraffle's Visio support to a higher level.

    17. Re:In OOXML? by thsths · · Score: 1

      > Speaking of which.. Anyone know of a decent OSS replacement for Visio? And no, dia doesn't count. It's nowhere near what Visio does. Nor does it save a Visio compatible file.

      I would still say the answer is dia. It is not very powerful, but what it does is done well. Ok, this is very much unlike "jack of all trades" Visio.

      If you need more power, there are three main alternatives. Skencil has many drawing options, but it does not have the "object based" approach of Visio, and difficulties with connection lines. Inkscape tries to do everything (plus nice gradients and transparency), but it can be a bit unstable at times. And finally you should have a look at OpenOffice Draw. It is actually a very nice drawing program, quite like Visio. Unfortunately, import and export are virtually non-existing.

    18. Re:In OOXML? by Ajehals · · Score: 1

      I ended up buying crossover just for visio, so if you find a good replacement do tell me. It is so far the one thing I cant replace with something better.

    19. Re:In OOXML? by Baricom · · Score: 5, Funny

      I say we petition Microsoft to include a multiplyLikeExcel2007 element in the next version of OOXML.

    20. Re:In OOXML? by Burpmaster · · Score: 1

      Anyone know of a decent OSS replacement for Visio?

      OpenOffice Draw, maybe? I've never used Visio, but somebody who saw me using Draw commented that it looked similar to Visio. You can convert shapes to ploygons or curves and edit/move the points, and you can merge, subtract, or intersect shapes to produce new ones. There are also connectors, which are various forms of arrows that can have their ends attached to objects.

    21. Re:In OOXML? by mattpalmer1086 · · Score: 1

      Same here. It's the one proprietary app that I can't find a decent open source replacement for. Granted, it sucks if the diagrams get too big, but it's great for making all sorts of quick diagrams. I've tried dia, xfig and just about every vector drawing tool out there, but none of them make it quite so drag and drop, with auto-routing connectors.

    22. Re:In OOXML? by Anonymous Coward · · Score: 5, Funny

      The OOXML specs are already 65498 pages long. If Microsoft can give "multiplyLikeExcel2007" a 37 page treatment in the OOXML specs, the total page count for OOXML will reach an amazing 100000 pages (therefore 166 times better than ODF). Sounds like a winning plan to me!

    23. Re:In OOXML? by v1 · · Score: 3, Interesting

      I have a spreadsheet I use for my finances, and I have been having to resort to converting some numbers to strings and back again to get around rounding errors, but excel pulled a new one on me. After months of entering my checkbook data, a cell toggled to indicate a balance error. It was something like $1234.56 != $1234.56. I bumped the precision as high as it would go and both cells still showed exactly the same value but would not evaluate as equal. So I set a third cell thusly A3=A2-A1. And the third cell now showed as something like -1.0032E-18. (that's like 0.0000000000000000010032) Lovely. This is not the first time I have encountered cumulative rounding errors in Excel. So now I have to test not for (in)equality, but to test for the difference to be less than 1/100th of a cent. That's BS for a spreadsheet app.

      I was surprised to find that the error actually had came up much earlier, but when the difference between cells is less than a certain amount, excel's equality resolves as true. So removing the last few entries, the book balanced again, even though the difference was now -2.18E-19. Clearly they are aware of this problem and are trying to hide it. If it was not actively fudging numbers there would probably be a lot more people having numerical problems. (numbers cited here are illustrations, I do not recall the exact values or precision)

      --
      I work for the Department of Redundancy Department.
    24. Re:In OOXML? by smittyoneeach · · Score: 1

      Visio has an XML format, though I haven't tried composing such externally and then opening it within Visio--you never know exactly when MS has some kind of catch-me-screw-me thing going on, but you figure they do most of the time.
      What I would like to know is if anyone has found a way to automate the UML add-in. I would really like to use it (and I have a legal copy) as a reporting tool. It makes swell pictures, but the interface is completely in the way.

      --
      Get thee glass eyes, and, like a scurvy politician, seem to see things thou dost not.--King Lear
    25. Re:In OOXML? by Anonymous Coward · · Score: 0

      Basic computer science error.
      You don't use floating point numbers for financial calculations.
      They need to use "decimal".

      Microsoft is the toy company of the software industry.

    26. Re:In OOXML? by thePsychologist · · Score: 1

      Spreadsheets (when designed properly), are quick in rolling out simple applications where you have to, say, repeatedly calculate a statistic from a set of data like a weighted average, and the data is not stored in file but on paper (like from a lab book). I know a fair amount of programming and the spreadsheet design which allows you to see your data is far superior than rolling some custom thing out in R (or Octave if you use it).

      --
      "What lies behind us, and what lies before us are tiny matters compared to what lies within us." Ralph Waldo Emerson
    27. Re:In OOXML? by DannyO152 · · Score: 1

      When I need to compare two columns in this manner, I use a formula which flags when the absolute value of the difference exceeds .001 (as I'm dealing with US currency). As another responder notes, this is not an Excel problem, but a floating/double issue inherent in computing.

    28. Re:In OOXML? by wanerious · · Score: 1

      This may be of no use, but if you're fluent in LaTeX, the pgf package is wonderful for procedural drawing. I use it with glee now for all my diagrams in the classes I teach.

    29. Re:In OOXML? by Frankie70 · · Score: 4, Informative

      Welcome to the world of Floating point arithmetic.

      Look at these articles.

      http://support.microsoft.com/kb/q78113/
      http://c-faq.com/fp/printfprec.html
      http://c-faq.com/fp/fpequal.html

      Microsoft Excel was designed around the IEEE 754 specification with respect to storing and calculating floating-point numbers.

    30. Re:In OOXML? by twentycavities · · Score: 1

      =ROUND(A1,2)=ROUND(A2,2)

      --
      Monstromart: Where shopping is a baffling ordeal
    31. Re:In OOXML? by mzs · · Score: 1

      Do all your calculations in cents.

    32. Re:In OOXML? by norton_I · · Score: 4, Insightful

      Do not compare floating point numbers for equality. Doing so is almost always a bug.

    33. Re:In OOXML? by Anonymous Coward · · Score: 0

      Microsoft Excel was designed around the IEEE 754 specification with respect to storing and calculating floating-point numbers.
      Yep. Excel is a toy for creating formatted tables. It should never, ever be used as a financial spreadsheet.
    34. Re:In OOXML? by Anonymous Coward · · Score: 0

      Learn what IEEE floating point is, you tard.

    35. Re:In OOXML? by Hatta · · Score: 1

      What's wrong with dia? It does everything I need it to. Which admittedly might not be very much, but that's why I'm asking.

      --
      Give me Classic Slashdot or give me death!
    36. Re:In OOXML? by jhol13 · · Score: 3, Insightful

      Do not use floating point for financial calculations. Doing so is always a bug.

    37. Re:In OOXML? by JelloJoe · · Score: 1

      I've always used SmartDraw Professional. It is much more user friendly that Visio.

    38. Re:In OOXML? by BrandonReese · · Score: 1

      I've ran into this, I ended up having to wrap EVERY mathematical expression with the round() function.

    39. Re:In OOXML? by p3d0 · · Score: 1

      As another responder notes, this is not an Excel problem, but a floating/double issue inherent in computing. No, it's inherent in floating-point math. So what do you do?

      1. Don't use floating point math for financial applications, or
      2. Resign yourself to rounding errors

      I leave this as an exercise for the reader.
      --
      Patrick Doyle
      I mod down every jackass who puts his moderation policy in his sig. Oh, wait a sec....
    40. Re:In OOXML? by porpnorber · · Score: 2, Interesting

      Yes. Spreadsheet applications use floating point arithmetic, and are thus inappropriate for accounting. Does nobody go to school anymore? What is the entire damned world thinking?

      Surely your (hopefully government mandated) accounting procedures tell you to do your calculations in cents, or mils, or something, do they not? Then, I would think, you should follow those procedures. You really should. Even if Excel is (a) sold by Microsoft and (b) pretty convenient.

      Or is it me that's insane?

      (A quick check at Wikipedia tells me, for example, that the US Coinage act of 1792 said "That the money of account of the United States shall be expressed in dollars or units, dismes or tenths, cents or hundredths, and milles or thousandths, a disme being the tenth part of a dollar, a cent the hundredth part of a dollar, a mille the thousandth part of a dollar, and that all accounts in the public offices and all proceedings in the courts of the United States shall be kept and had in conformity to this regulation." Have these sorts of regulations really all been overturned?)

    41. Re:In OOXML? by Doctor+Faustus · · Score: 2, Insightful

      You don't use floating point numbers for financial calculations.
      They need to use "decimal".

      The decimal type is floating point, just not binary. But yes, that's the type to use, because the problem isn't the floating point, but the base conversions.

    42. Re:In OOXML? by Doctor+Faustus · · Score: 1

      Do not use floating point for financial calculations. Doing so is always a bug.
      What's the appropriate way to do this in Java, anyway? Use an integer for cents or whatever fraction of cents you care about?

    43. Re:In OOXML? by Anonymous Coward · · Score: 0

      Huh? No, spreadsheets should NOT be using BINARY floating point arithmetics, but BCD. D'oh. There's no black magic involved in making sure decimal calculations are done in perfectly accurate way. It will be somewhat slower of course, but for values that are indicated (or, heck, implied, for spreadsheets) that's the only right way to do it.

    44. Re:In OOXML? by Anonymous Coward · · Score: 0

      My wife is a graduate student. Her prof has her research assistants use Excel extensively for recording field research data (Environmental Science), doing calculations and presenting findings. I rant and rail weekly to her about saving scientific research data in a proprietary format and depending upon a basically clerical application for calculations upon which academic reputations depend.

      Guess YOU got the rant this time.

    45. Re:In OOXML? by Skiron · · Score: 1

      Great stuff... lol.

    46. Re:In OOXML? by synthespian · · Score: 1

      It's a very very poor choice that some doctors and psychologists are making (and other members of the health community) when they assume they can just reach for Excel instead of the more traditional choices (SAS, SPSS, S-PLUS, R).

      Se, for example: Use of Excel for Statistical Analysis

      and

      Should Microsoft Excel Software Be Used For Statistical Analysis ?

      and although some issues might have been addressed (and we haven't even mentioned the random number generator), the recent Sep 22 bug (multiplication) compiles Excel very poor history.

      I'm even uder the impression that even Wall Street quants don't exactly trust Excel, prefering to do their number crunching with C++ and then connecting to Excel (just to display the graphics, for instance).

      --
      Main difference between the BSD license and the GPL license: one is from California and the other is from Massachusetts
    47. Re:In OOXML? by mrchaotica · · Score: 1

      I use Matlab and Octave constantly for things everyone around me uses Excel for (I do structural engineering).

      Holy shit! Tell me which structures these Excel-using idiots are designing, so that I can avoid being crushed by them!

      --

      "[Regarding the 'cloud,'] ownership was what made America different than Russia." -- Woz

    48. Re:In OOXML? by illuvata · · Score: 1

      Using BigDecimals is probably easiest.

    49. Re:In OOXML? by datadigger · · Score: 1
      Anyone know of a decent OSS replacement for Visio?

      You may like yEd. Not OSS, but free (the last time i saw it). Not exactly the same as Visio, but very nice for some types of diagrams. It does a nice auto-reformatting/layout job, and is very flexible doing so.

      yEd imports/exports from/to a few other formats, for example GML. GML is not very difficult to generate (for simple diagrams).

      --
      Aphorisms don't fix code. (Bart Smaalders)
    50. Re:In OOXML? by datadigger · · Score: 1

      It should never, ever be used as a financial spreadsheet.

      Define "financial".

      IMHO it's not fit for beancounting, bookkeeping and invoicing, but good enough for estimating the yearly budget.

      --
      Aphorisms don't fix code. (Bart Smaalders)
    51. Re:In OOXML? by xeoron · · Score: 1

      Dia is a OSS replacement option that runs on Unix and MS Windows. http://live.gnome.org/Dia

    52. Re:In OOXML? by DragonWriter · · Score: 1

      Do not compare floating point numbers for equality. Doing so is almost always a bug.


      Why do spreadsheets still use floating point, anyway? Accuracy seems more important than speed, in general, in spreadsheets (sure, you can do complex realtime simulations in a spreadsheet if you want to, but that's not the main point of them), so defaulting to using something a unlimited precision decimal or rational format as the default number storage format would seem to make a lot more sense than floating point.
    53. Re:In OOXML? by DragonWriter · · Score: 1

      I've always used SmartDraw Professional. It is much more user friendly that Visio.


      SmartDraw is a very nice package, IMO; its not Free or even free, though, and the request was specifically for OSS.
    54. Re:In OOXML? by inKubus · · Score: 1

      Try using aggregate functions on money columns in Sql Server 2005.. They have the classic excel rounding error that drops a tenth of a cent. Or their Retail Management System (Dynamics RMS), which does the same thing in the opposite direction. Surely a penny doesn't matter! Fucking idiots. On the bright side, I set up a script to "take from the penny jar" and put it into a numbered account. Like in Superman ]|[.. Thumbs up their assholes, thumbs up their assholes...

      --
      Cool! Amazing Toys.
    55. Re:In OOXML? by cecil_turtle · · Score: 1

      You don't design a network diagram with 1000+ devices on it, you do it in different layers. E.g., start with Internet lines, firewalls, core switches on one diagram. Break out separate buildings / floors / etc. onto other diagrams. There is absolutely no need or use for a single diagram with every device on it.

    56. Re:In OOXML? by cecil_turtle · · Score: 1

      Exactly, OpenOffice.org Draw is great for people who need to do relatively simple flow/logic diagrams. Our IT staff and developers use Visio, but for the rest of the company Draw is fine.

    57. Re:In OOXML? by Anonymous Coward · · Score: 0

      Perhaps I shouldn't tell you that Excel is heavily used in structural engineering for commercial aircraft...
      It's far from all being FEA you know.

    58. Re:In OOXML? by XenoPhage · · Score: 1

      Yes.. and no. Unfortunately, it depends on your upper management. I'm used to dealing with layers, having different diagrams based on what I'm working on. However, I've also run into upper management types who want everything in one picture. Which is great, till you see the mess it makes.

      Of course, where I work now, network diagrams are this magical thing that don't exist. It's so incredibly difficult to design networks without any visibility.. *sigh*

      I definitely agree that a well-designed database can easily create usable network diagrams on the fly..

      --
      XenoPhage
      Technological Musings
    59. Re:In OOXML? by XenoPhage · · Score: 1

      Trolling? No. I'm honestly looking for a visio replacement. First, Visio doesn't run under Linux. I'd like to find something I can use on my OS of choice while still outputting files that Visio users can view. Besides, Visio is expensive, and does much, much more than I need.

      --
      XenoPhage
      Technological Musings
    60. Re:In OOXML? by Anonymous Coward · · Score: 0

      For financial purposes, you might want to consider checking the calculation option "Precision as displayed". See a good reference on this page: http://www.cpearson.com/excel/rounding.htm

    61. Re: In OOXML? by Dolda2000 · · Score: 1

      In all honesty, what does one do with Visio? I've been wondering for the longest time. I have really only seen Visio on a superficial level, but it didn't seem to be more than a somewhat fancy drawing program with a library of symbols, which made it seem quite a bit like Dia to me (except the library was larger).

    62. Re:In OOXML? by Anonymous Coward · · Score: 0

      The entire financial industry revolves around Excel. Traders and brokers don't even want to know about easier and more efficient ways of calculating things. Things will get very litigious very quickly if it proves that some banks rates are already affected by this fault.

    63. Re:In OOXML? by mikkelm · · Score: 1

      It's very common practice to have a Visio document with all of your nodes on it, geologically or topologically seperated on different pages within the document, and seperate Visio documents detailing specific layers.

      It's not the best way to do it, but it's very common.

  3. Pentiums by MyLongNickName · · Score: 5, Funny

    What happens if you use this on an older Intel chip? Do the issues cancel out?

    --
    See my journal for slashdot ID's by year. Mine created in 2005. http://slashdot.org/journal/289875/slashdot-ids-by-year
    1. Re:Pentiums by 644bd346996 · · Score: 5, Funny

      Perhaps. I tried to test it out, but the hard drive with the swapfile caught fire before Excel finished loading.

    2. Re:Pentiums by Fuji+Kitakyusho · · Score: 5, Funny

      Not quite. The cell in that case just reads 99,999.999998263, when it should be 65,534.99994721.

    3. Re:Pentiums by markov_chain · · Score: 1

      They don't, instead the total error becomes Rayleigh distributed.

      </math>

      --
      Tsunami -- You can't bring a good wave down!
    4. Re:Pentiums by Anonymous+Freak · · Score: 2, Informative
      Yes, I know it's a joke.

      But, sadly, Office 2007 will not run on an FDIV Pentium. The fastest Pentium that had the FDIV bug was 100 MHz, which is far too slow to even attempt to install Windows XP on, which is a requirement for Office 2007. Way back when XP first came out, I got it to install on a Pentium MMX 233 MHz notebook with 64 MB of RAM, but Service Pack 2 made that computer impossibly slow. And it refused to install at all on an old Pentium 166 MHz computer I had lying around. (And it even had more memory.)

      --
      Another non-functioning site was "uncertainty.microsoft.com."
      The purpose of that site was not known.
    5. Re:Pentiums by Anti_Climax · · Score: 1

      These Guys mentioned in a Previous Slashdot article were able to install XP on hardware that was much slower than that.

      I'm not saying it would be at a usable speed, but you *can* run it to check.

      --
      Even people that believe in pre-destiny look both ways before crossing the street.
    6. Re:Pentiums by Seraphim_72 · · Score: 1

      Well duh, just get an extra 76.1 of those 100Mhz chips then each one will run at 1.29Ghz. I tell ya, they will give out a 5 digit UID to *anyone* these days...yeesh

      ;) Sera

      --
      Slashdot, where armchair scientists get shouted down and armchair theologians get modded up.
    7. Re:Pentiums by jelle · · Score: 1

      - "by MyLongNickName (822545)" "on 10:40 PM"
      - "by 644bd346996 (1012333)" "on 10:49 PM"

      Wow, all that in only 9 minutes?

      --
      --- Hindsight is 20/20, but walking backwards is not the answer.
    8. Re:Pentiums by Anonymous+Freak · · Score: 1

      Wow. Just. Wow.

      And I thought getting Windows 2000 (Advanced Server, even) to run on a 486/66 was bad back in the day.

      Hrm... I have a 486, and a "Pentium OverDrive" chip, I may just have to try this. :-p

      --
      Another non-functioning site was "uncertainty.microsoft.com."
      The purpose of that site was not known.
  4. Is anyone using Excel 2007? by QuantumG · · Score: 4, Insightful

    I bought a Dell this year, it came with Office 2003.

    --
    How we know is more important than what we know.
    1. Re:Is anyone using Excel 2007? by WK2 · · Score: 2, Funny

      Is anyone using Excel 2007?

      65535 is a popular number. It is 2^16-1. This bug was discovered as soon as QA started (the day after release.)

      --
      Write your own Choose Your Own Adventure. http://www.freegameengines.org/gamebook-engine/
    2. Re:Is anyone using Excel 2007? by Anonymous Coward · · Score: 2, Funny

      65535 is a popular number. It is 2^16-1 No wonder I'm not a popular number. I'm 2^10+313, and I always figured it was the ear wax or poor hygiene.
    3. Re:Is anyone using Excel 2007? by The+MAZZTer · · Score: 1

      I got Office Pro 2007 through a Microsoft promotion for free. There was also a recent promotion for college students to get Office Ultimate 2007 for $60.

    4. Re:Is anyone using Excel 2007? by QuantumG · · Score: 4, Funny

      Of course you did. You don't think they're going to pay you to do bug testing for them do you?

      --
      How we know is more important than what we know.
    5. Re:Is anyone using Excel 2007? by Gothic_Walrus · · Score: 1

      At my college (30,000+ students and a highly ranked college of engineering), every Windows computer I've used this year has been switched to Office 2007. I've had to use it a few times, though not by choice.

      --
      Goo goo g'joob.
    6. Re:Is anyone using Excel 2007? by Anonymous Coward · · Score: 2, Insightful

      as opposed to Open Office, where they pay you to do bug testing for them? ... Oh, wait...

    7. Re:Is anyone using Excel 2007? by WK2 · · Score: 2, Funny

      65535 is a popular number. It is 2^16-1
      No wonder I'm not a popular number. I'm 2^10+313, and I always figured it was the ear wax or poor hygiene.

      1337 is a popular number too. Your problem is probably what you thought it was.

      Although, around here, everybody talks about you. It's always Anonymous Coward this and Anonymous Coward that. Usually nothing good, but everybody here knows who you are.

      --
      Write your own Choose Your Own Adventure. http://www.freegameengines.org/gamebook-engine/
    8. Re:Is anyone using Excel 2007? by Anonymous Coward · · Score: 0

      I bought an HP this year, it came with Office 2007.

      ---

      It should be legal for vegetarians to kill meat eaters, so long as they use them for fertilizer.

    9. Re:Is anyone using Excel 2007? by T-Bone-T · · Score: 1

      I love college. I got Vista and Office Ultimate for $15 each. Before that, I got XP and Office 2003 for $10 and $15, respectively. My only regret is my graphics card isn't up to par to do Aero and play videos in Media Center.

    10. Re:Is anyone using Excel 2007? by Hucko · · Score: 2

      Yeah, but it is free to bug test...

      --
      Semi-automatic amateur armchair Australian philosopher; conjecture ready at any moment...
    11. Re:Is anyone using Excel 2007? by Anonymous Coward · · Score: 1, Funny

      I got Vista and Office Ultimate for $15 each.

      Dude, you got ripped off!

      I just got a punch in the throat and a couple of knees to the sack for free.

    12. Re:Is anyone using Excel 2007? by ultrasound · · Score: 3, Interesting

      I'm using Excel '97 and Word '97 on my XP Pro 2.6GHz dual core and they work fine. Excel loads in an instant, most numbers seem to multiply ok (haven't tested them all but I'm sure the service packs have fixed most major errors by now). In 10 years I haven't seen a single new feature that makes a compelling reason to upgrade.

      I started with Excel 2.0*, in those days every release seemed to add significant new features (and floppies) and there was always a rush to install the new version and some excitement as you discovered the new features. By Excel '97 the program was so feature rich that most users never used more than a fraction of its functionality, same goes for Word '97. Where do you go from there?

      (OOXML etc, I know).

      *I think it was 2.0, it was 20 years ago.

    13. Re:Is anyone using Excel 2007? by billgates · · Score: 1

      You paid for that stuff? They'd have to pay me plenty to use that crap. I'd sooner use the free alternatives.

    14. Re:Is anyone using Excel 2007? by T-Bone-T · · Score: 0, Troll

      Try to make your jealousy less obvious next time.

    15. Re:Is anyone using Excel 2007? by Sam_Brightman · · Score: 5, Funny

      "most numbers seem to multiply ok"

      perhaps making a statement like this about a spreadsheet is not really a shining endorsement. let me know when you've tested the rest of them.

      --
      sam brightman
    16. Re:Is anyone using Excel 2007? by mathi · · Score: 1

      By Excel '97 the program was so feature rich that most users never used more than a fraction of its functionality, same goes for Word '97. Where do you go from there?

      My Office goes to eleven!

    17. Re:Is anyone using Excel 2007? by Anonymous Coward · · Score: 0

      I downloaded a bootleg copy of office 2007 purely because I wanted to see what the new interface looked like (no, really!), but having played with it for a few hours, I removed it and went back to my legitimate (really!) copy of 2000.

      I'm all for change - but it's gotta be bad when you kick out a pirated copy!

    18. Re:Is anyone using Excel 2007? by Anonymous Coward · · Score: 0

      Anonymous Coward does not forget.
      Anonymous Coward does not forgive.
      Anonymous Coward is legion.

      ...and you have got our attention.

    19. Re:Is anyone using Excel 2007? by Anonymous Coward · · Score: 0

      Screw Anonymous, he got a big head after that stupid Fox News special. If you want the real hero of information my money is on Ibid - that guy is everywhere, and he always delivers.

    20. Re:Is anyone using Excel 2007? by stavros-59 · · Score: 1

      *I think it was 2.0, it was 20 years ago. It was about 20 years ago and it was 2.x and it ran on DOS 5.0 (maybe even DOS 3.3) with "runtime" windows on my 286 with 640 KB RAM just before Windows 3.0 was unleashed on an unsuspecting world to give us Solitaire. Sometimes I hate it that I can remember this stuff :|
    21. Re:Is anyone using Excel 2007? by Anonymous Coward · · Score: 0

      DOS 3.3 was around in 1987, but DOS 5 wasn't released until 1991.

    22. Re:Is anyone using Excel 2007? by Anonymous Coward · · Score: 0

      I got a new Dell at work this year.

      Regrettably, it came with Office 2007.

  5. Who are you going to call? by renegadesx · · Score: 5, Funny

    1 2 3 4 5 5 6 7 8 9 10 11 12... ...65,533 65,534 100,000

    Give em a break, even the Count from Sesame Street cant count that high.

    --
    Make SELinux enforcing again!
    1. Re:Who are you going to call? by dvonhand · · Score: 5, Funny

      Who are you going to call?

      Ghostbusters?
    2. Re:Who are you going to call? by VGPowerlord · · Score: 1

      Who are you going to call?

      Ghostbusters?

      I think Buffy would be better in this case, since we're dealing with Counts.
      --
      GLaDOS for President 2016! "Well here we are again. It's always such a pleasure." -- GLaDOS, 2011
    3. Re:Who are you going to call? by AJWM · · Score: 5, Funny

      1 2 3 4 5 5 6 7 8 9

      But I think the Count can manage to count to six without stuttering.

      --
      -- Alastair
    4. Re:Who are you going to call? by driftingwalrus · · Score: 1

      See, this is what happens when you count in binary and run out of fingers.

      --
      Paul Anderson
      "I drank WHAT?!" -- Socrates
    5. Re:Who are you going to call? by rubycodez · · Score: 4, Funny

      if you were a real fan you'd know that's when the Counts repeats a number and then comments how wonderful the items being counted are. e.g. five...five *wonderful* vampire bats! mwuhahahahaha!

    6. Re:Who are you going to call? by halcyon1234 · · Score: 5, Funny
      No, dude, you have it wrong. The Count always stops to repeat every now and then, to remind you of the objects being counted.

      1... 2... 3... 4... 5... 5 Mod points for Halcyon! {thunderbolt, lightning, kid-friendly-maniacal laughter}

    7. Re:Who are you going to call? by fractoid · · Score: 1

      Anyone else read this and think "one two three four five six nine and ten"?

      ...you know who you are...

      --
      Rampant carbon sequestration destroyed the Dinosaurs' tropical paradise. I'm here to help repair the damage.
    8. Re:Who are you going to call? by OverflowingBitBucket · · Score: 3, Funny

      1 2 3 4 5 5 6 7 8 9

      But I think the Count can manage to count to six without stuttering.

      Geez, way to go. Give 'em a chance to fix their current problems before you start finding new ones. ;)

    9. Re:Who are you going to call? by ozbird · · Score: 1

      1 2 3 4 5 5 ...

      Three, sir.

    10. Re:Who are you going to call? by KittenJuicer · · Score: 1

      Can't we all just stop counting at 1 and call it a day ?

    11. Re:Who are you going to call? by joss · · Score: 1

      My guess is he just listens to Offspring too much:

      And all the girlies say I'm pretty fly for a white guy
      Uno, dos, tres, cuatro, cinco, cinco, seis ...

      --
      http://rareformnewmedia.com/
    12. Re:Who are you going to call? by nschubach · · Score: 1

      eleven twelve!

      (you forgot the most important parts!)

      I always found it funny that they'd go up to twelve instead of stopping at ten, but I was young then and the little cartoon of the rolling marbles made me overlook that for some time.

      --
      Every time I start to have faith in humanity, I ruin it by driving to work between 7 and 8 am.
    13. Re:Who are you going to call? by nschubach · · Score: 1

      I hear it's Union policy that anyone that counts over 1 should be reprimanded for making everyone else look bad.

      --
      Every time I start to have faith in humanity, I ruin it by driving to work between 7 and 8 am.
    14. Re:Who are you going to call? by fractoid · · Score: 1

      ZOMG THAT! I'd forgotten about that! Part 12 on youtube. :)

      I was thinking of this: 1234 by Feist.

      --
      Rampant carbon sequestration destroyed the Dinosaurs' tropical paradise. I'm here to help repair the damage.
    15. Re:Who are you going to call? by jeephistorian · · Score: 1

      Sparta?

      --
      Huh?
    16. Re:Who are you going to call? by Anonymous Coward · · Score: 0

      That phrase is never gonna be useful again, is it?

    17. Re:Who are you going to call? by inKubus · · Score: 1

      mwuhahahaa? That's not correct, he actually says "AH Ah ah"

      One! ONE blood-sucking vampire bats, AH Ah ah. Try it in transylvanian and you'll see I'm correct.

      --
      Cool! Amazing Toys.
    18. Re:Who are you going to call? by rubycodez · · Score: 1

      that's actually Béla Lugosi's Hungarian accent the Count von Count uses. Listen to some Romanian sound clips, that's a latinate language and accent.

  6. Yes. by oatworm · · Score: 3, Informative

    Yep - my office switched to Vista and Office 2007. Then again, we're a networking firm, so it's in our best interests to use stuff while it's still "beta" so we know the bugs and quirks before our customers start playing with it.

    As an aside, when I went to pick up a lease renewal form for my apartment complex, I noticed that the lady at the front counter was also running Office 2007, so I'd say it's out there - just not exceptionally widespread at the moment, compared to other versions of Office.

    1. Re:Yes. by PresidentEnder · · Score: 1

      The University where I work has a policy of encouraging users to save in the older .doc format, even though we have Office 2007 licenses for everyone, because we want the people who haven't upgraded to be able to open all the files they need. But there's high turnover with student employees, and the administrators don't tend to save things properly, so we end up having to upgrade everyone as soon as one person in a department has 2007. At least I have job security.

      --
      I used to carry a bottle of whiskey for snake bite. And two snakes. -Nefarious Wheel
    2. Re:Yes. by Pulse_Instance · · Score: 1

      That's odd, the first time I brought a Office 2007 excel sheet to work from home to work and tried to open it in 2003 it asked me if I wanted to download something to allow me to load the 2007 version on my 2003 version. Haven't had a problem with interoperability since then.

    3. Re:Yes. by lukas84 · · Score: 1

      They could've set a group policy to adjust this setting automatically for any domain-joined machine.

  7. Oh no! by kwabbles · · Score: 0, Troll

    This is the most devastating bug in years. Heaven have mercy on us all.

    --
    Just disrupt the deflector shield with a tachyon burst.
    1. Re:Oh no! by timmarhy · · Score: 4, Insightful

      well, it could very well lead to massive fuckups if anyone happens to make a decision based on the flawed result.

      --
      If you mod me down, I will become more powerful than you can imagine....
    2. Re:Oh no! by renegadesx · · Score: 5, Funny

      This just in: Florida plans to do use Microsoft Excel to calculate the 08 election results.

      News at 11

      --
      Make SELinux enforcing again!
    3. Re:Oh no! by Anonymous Coward · · Score: 1, Funny

      That was 6 minutes after your post, my time. It's been 20 minutes already! Where's my news!?

    4. Re:Oh no! by ozmanjusri · · Score: 5, Informative
      This is the most devastating bug in years.

      It could be for Excel users.

      65535 is common in computing because it's the highest number which can be represented by an unsigned 16 bit binary. If Excel is mishandling it somewhere in the background, chances are that failure will show up at multiple points.

      If I had an important Excel 2007 spreadsheet, I'd be loading it up in OOo Calc or an older version of Excel now.

      --
      "I've got more toys than Teruhisa Kitahara."
    5. Re:Oh no! by Anonymous Coward · · Score: 0

      Guess this explains why all the grade distributions for my students were so skewed. That 65.535% just got translated to 100%. If bridges and catwalks start to collapse in about five years, you'll know who to blame.

    6. Re:Oh no! by Fred_A · · Score: 1

      It's ok, I only run Excel 2007 on my 286.

      --

      May contain traces of nut.
      Made from the freshest electrons.
    7. Re:Oh no! by big+ben+bullet · · Score: 2

      why, what, how?

      I know 65535... it was called a WORD back in the old days (16-bit). (And a WORD is an unsigned INTEGER).

      All of the sudden if anybody just 'knows' stuff it is because he read in on an overhyped wiki?

    8. Re:Oh no! by VagaStorm · · Score: 1

      It never finishes the calculation, hence never gets it wrong?

    9. Re:Oh no! by mwvdlee · · Score: 1

      I think the flawed decisions people make based on Excel sheets are now cancelled out by flawed Excel sheets, making for good decisions.

      --
      Slashdot social media options: AIM, ICQ, Yahoo, Jabber and Mobile Text. Why no MySpace?
    10. Re:Oh no! by sdnoob · · Score: 1

      well, it could very well lead to massive fuckups if anyone happens to make a decision based on the flawed result.


      it wouldn't be their first fukked-up decision though, would it?
    11. Re:Oh no! by Baricom · · Score: 1

      Great! Maybe the results will be more accurate than last time!

    12. Re:Oh no! by Fred_A · · Score: 1

      Uh, actually the hourglass has already made a quarter turn since last night, so it's making progresses ! ;)

      --

      May contain traces of nut.
      Made from the freshest electrons.
    13. Re:Oh no! by earlymon · · Score: 1

      Just to back that up, compadre, 8bits=byte, 2bytes=word, 4bytes=longword, 8bytes=quadword, 16bytes=paragraph, 256bytes=page, 256pages=64k. Thus the two 8bit x/y addressing registers of a 6502 could address 65536 memory locations. It was pretty good to know that for bit-shifting to get to memory quickly in assembly. Further, the PDP-8 and HP-1000 were both word-addressable, not byte addressable machines and if you used them for data acquistion (common to do in those days, load naked asm from another machine), you used words for your 16bit i/o DACs.

      Here - let me sim that in Excel for you .... no, wait .....

      --
      Pathological kinda promises Path + Logical - but instead, you get stuck with pathetic.
    14. Re:Oh no! by Anonymous Coward · · Score: 0

      I know 65535... it was called a WORD back in the old days (16-bit). (And a WORD is an unsigned INTEGER).

      RTFA, it's not WORD it's EXCEL!

    15. Re:Oh no! by JasterBobaMereel · · Score: 1

      8 bits = byte but bytes have ranged from five to twelve bits.....

      --
      Puteulanus fenestra mortis
    16. Re:Oh no! by v1 · · Score: 1

      > 09 F9 11 02 9D 74 E3 5B D8 41 56 C5 63 56 88 C0

      what is that? machine code? (cpu?)

      --
      I work for the Department of Redundancy Department.
    17. Re:Oh no! by nschubach · · Score: 1

      It's a magic number.

      --
      Every time I start to have faith in humanity, I ruin it by driving to work between 7 and 8 am.
    18. Re:Oh no! by Verte · · Score: 2, Informative

      Yes and no, the definition of a WORD has typically been hardware specific. For example, on a PDP, a word was 18 bits, IIRC. However, it has always meant a bit-field, which doesn't make any assumption about type.

      --
      We at slashdot are scientists, specialists and kernel hackers. Your FUD will be found out.
    19. Re:Oh no! by Slashcrap · · Score: 1

      Only if we could all pull information from wikipedia and call it our own. At least give credit to where you got your information from.

      Yes, that's right. Nobody here would have known why 65,535 was an important number without looking it up on Wikipedia.

      Please mod parent back up so that everyone can witness what must be one of the biggest own goals in Slashdot history. As a general rule, if you're going to call someone out in public, it's best to check and make sure you're not retarded first.

    20. Re:Oh no! by Slightly+Askew · · Score: 3, Funny
      As a general rule, if you're going to call someone out in public, it's best to check and make sure you're not retarded first.

      I checked, I'm not.

      --
      Public use of any portable music system is a virtually guaranteed indicator of sociopathic tendencies. -- Zoso
    21. Re:Oh no! by roman_mir · · Score: 1

      Hmmm. How old are you, number 90981 and what do you do and what are you doing on /.? Ever programmed in Assembler or have done any computational analysis whatsoever?

      Check this out, 0x20 (that's hex) is 32 decimal, it is the number used in ASCII to represent a single space.

      And I didn't even have to use LeetKey for it.

    22. Re:Oh no! by Anonymous Coward · · Score: 0

      What you really want to do is be quiet about this and ask to be paid $65535 annual salary. Then if they pay $100,000 to your government SSN account you will get a whoping refund.

    23. Re:Oh no! by kwabbles · · Score: 1

      65535 is common in computing because it's the highest number which can be represented by an unsigned 16 bit binary.

      Ohhhhhhhhh... so THAT's why I can never get my super top secret web server to run on port 75,000.

      Next you'll be telling me that the sky is blue.

      --
      Just disrupt the deflector shield with a tachyon burst.
    24. Re:Oh no! by miked98 · · Score: 1

      Please, this is a bug, but it's a display bug. As several posters
      have pointed out, you can manipulate this value all you want (graph,
      input it to any function), and it is treated as 65535.

      It matters for reading these numbers as symbols, on screen or in
      print. How often would one come across this precisely calculated
      number, in a cell that is intended to be read by human eyes? You're
      more likely to be struck by lightning.

      --
      "I have approximate answers and possible beliefs and different degrees of certainty about different things." -R.P.Feynma
    25. Re:Oh no! by Alsee · · Score: 1

      Results 1 - 20 of about 745,000 for "09 F9 11 02 9D 74 E3 5B D8 41 56 C5 63 56 88 C0"

      First hit:
      That's the so-called "Processing Key" that unlocks the heart of every HD-DVD disk to date. Happy Valentine's day, AACS. AACS, a DRM scheme used to encrypt data on HD-DVD and Blu-Ray disks, would appear to be cracked wide open by that short string of hexadecimal codes

      The MPAA sent out a ton of DMCA take-down notices attempting to censor that number, but of course "Results 1 - 20 of about 745,000" just demonstrates the stupidity of even attempting to censor a number (or anything else) trying to get DRM to work. Not to mention another 418,000 hits for "09F911029D74E35BD84156C5635688C0" and a few thousand hits for the decimal version 13256278887989457651018865901401704640.

      That number is arguably a criminal circumvention device under the DMCA, and it is potentially "criminal trafficking" for you to tell that number to anyone.

      -

      --
      - - You can't take something off the Internet! That's like trying to take pee out of a swimming pool.
    26. Re:Oh no! by earlymon · · Score: 1

      You sir, have earned a cigar - a byte was once the addressable unit / accumulator unit of a machine, before 8 bits became the packet of choice. We wax nostalgic....

      --
      Pathological kinda promises Path + Logical - but instead, you get stuck with pathetic.
    27. Re:Oh no! by jelle · · Score: 1

      But, nobody uses Excel for important business or financial decisions, do they?

      OOOPS!

      --
      --- Hindsight is 20/20, but walking backwards is not the answer.
    28. Re:Oh no! by Chapter80 · · Score: 1
      Marketing puke: "Mr Gates, I have the Vista sales projections right here. I've straight-lined growth over the months, starting at 13,107 (thousands of units) in month 1, and each month, increasing steadily. Month 2, 26,214. Month 3, 39,221. Month 4, 52,328. Amazingly, no matter how many times I crunch the numbers, Month 5 jumps up to 100,000 thousand units!"

      Bill: "Roll it out!"

    29. Re:Oh no! by c0d3h4x0r · · Score: 1

      850 x 77.1 = Pat Buchanan?

      --
      Moderator hint: a comment is neither "Flamebait" nor "Troll" if it is true.
  8. Oh, hell by $RANDOMLUSER · · Score: 1

    It's close enough for non-technical users, what's the fuss?

    --
    No folly is more costly than the folly of intolerant idealism. - Winston Churchill
    1. Re:Oh, hell by TheCoelacanth · · Score: 1

      The bug you linked to was an error of less than .0001 and it still caused problems. This Excel bug is off by almost 35000, and it's not even consistent with the value in the cell. I think pretty much everyone knows the difference between 65535 and 100000.

  9. Why does this ring a bell? by XSforMe · · Score: 1
    --
    My other OS is the MCP!
  10. Dunno... by Frosty+Piss · · Score: 0, Troll

    Dunno, works just fine in my copy of 2007...

    --
    If you want news from today, you have to come back tomorrow.
    1. Re:Dunno... by Anonymous Coward · · Score: 0

      It doesn't, however, work in mine. (excel 2007 on Vista, I don't think at the most recent patchlevel).

    2. Re:Dunno... by Duhavid · · Score: 1

      I have excel 2007 on XP, and I get the 100,000
      result. My copy of excel 200 on Win2k gave the
      correct result.

      --
      emt 377 emt 4
    3. Re:Dunno... by JackieBrown · · Score: 1

      Did you even read the title of the summary?

    4. Re:Dunno... by Ford+Prefect · · Score: 5, Funny

      My copy of excel 200 on Win2k gave the correct result.

      What, lxvDXXXV?

      (And yes, what have the Romans ever done for us, apart from apparently producing correctly functioning spreadsheet software?)
      --
      Tedious Bloggy Stuff - hooray?
    5. Re:Dunno... by chrisb33 · · Score: 2, Informative

      The bug shows up for me. I'm running on Vista, and my About box gives the Excel version as 12.0.6024.5000 (MSO 12.0.6017.5000).

    6. Re:Dunno... by Quarters · · Score: 2, Informative

      Office 2K7 on XP SP2 and I see the same results as the article.

    7. Re:Dunno... by eck011219 · · Score: 1, Informative

      It's broken here -- WinXP SP2, MS Office 2007 (Excel v. 12.0.6024.5000).

      I've done a lot of defending of MS for Office 2007, but this is a little scary. Word can suck in spots, but math really has to work.

      --
      It is pitch black. You are likely to be eaten by a grue.
    8. Re:Dunno... by Anonymous Coward · · Score: 0

      Who is the mod with a chip on their shoulder? ridiculous.

    9. Re:Dunno... by AbRASiON · · Score: 1

      I see I screwed up by quoting 2003 edition but in his case, he's claiming it's fine with 2007 ..... inconsistent results it seems.

    10. Re:Dunno... by Frosty+Piss · · Score: 1

      That's odd. Same set-up here. Must be a version thing.

      --
      If you want news from today, you have to come back tomorrow.
    11. Re:Dunno... by Kris_J · · Score: 1

      I can confirm it on Excel 2007 (12.0.4518.1014), running under Vista.

    12. Re:Dunno... by Ptur · · Score: 1

      My Office2000 version works fine...

      I bet my copy has the same features as your well-paid 2007 one minus the bugs and bloat yours has...

    13. Re:Dunno... by jkrise · · Score: 0, Flamebait
      Dunno, works just fine in my copy of 2007...

      WARNING TO MODS: THIS APPEARS TO BE AN ATTEMPT AT ASTROTURFING. THE PARENT POST IS NOT, REPEAT NOT +5 INFORMATIVE. PLEASE READ THE ORIGINAL ARTICLE, AND MS-EXCEL-MVP HAS ACCEPTED THIS BUG REPORT AS TRUE, AND HE HAS REPORTED IT TO MICROSOFT AS WELL.

      Bernard Liengme View profile
                More options Sep 23, 5:46 pm

      This has now been reported to Microsoft
      --
      Bernard V Liengme
      Microsoft Excel MVP
      www.stfx.ca/people/bliengme
      remove caps from email

      "Molham Serry" wrote in message
      --
      If you keep throwing chairs, one day you'll break windows....
    14. Re:Dunno... by Macthorpe · · Score: 1, Insightful

      Why does it have to be astroturfing? Why can't he just be wrong?

      You'd better watch out, if your knee keeps jerking that high you might catch yourself on the chin.

      --
      "It does not do to leave a live dragon out of your calculations, if you live near him." - Tolkien
    15. Re:Dunno... by wayward_bruce · · Score: 1

      (And yes, what have the Romans ever done for us, apart from apparently producing correctly functioning spreadsheet software?)

      Brought peace (on the desktop)?
    16. Re:Dunno... by jsiren · · Score: 1

      Office 2K7 on XP SP2...
      Where the fsck did you get an Office 2700?
      --
      Usage: km/h for speed (kilometers per hour); kph for very slow impulses (kilopond hours).
    17. Re:Dunno... by Dawizman · · Score: 0

      Confirmed here. Excel 12.0.6024.5005 and Vista.

    18. Re:Dunno... by Kvasio · · Score: 1

      while I recon your refference to the excellent Pyton's "Life of Brian", I think you should definitely watch one of the Pyton's cast series, the Terry Jones' Barbarians to know what Romans did for the world.

    19. Re:Dunno... by D4MO · · Score: 1

      That would be Office 2.7K moron

      --

      Rocket science is easy. Neurosurgery, now *that's* difficult.
    20. Re:Dunno... by Cougar_ · · Score: 1

      Which, in standard electronics speak is 2K7

    21. Re:Dunno... by jsiren · · Score: 1
      In component markings and listings, especially where the decimal point would easily rub off or go unnoticed, leading to an order-of-magnitude error, there is a practice of substituting a unit abbreviation for the decimal point. Thus, 2.7 K is often written as 2K7. Likewise, "R" is used for the omega sign; a common way to denote a 2.7 ohm resistor is 2R7.

      .

      .

      .

      ...you insensitive clod.

      --
      Usage: km/h for speed (kilometers per hour); kph for very slow impulses (kilopond hours).
    22. Re:Dunno... by Quarters · · Score: 1

      Hey Mr. Holier-Than-Thou, I got Office 2007 for the low low price of having to leave three Microsoft web-seminar videos running on my computer while I did other things. At the end of that they sent me a free copy of the suite.

    23. Re:Dunno... by Quarters · · Score: 1

      Whew....if I was the breadboard and resistor type of geek I'd be worried about my apparent abreviation faux-pas.

    24. Re:Dunno... by Anonymous Coward · · Score: 0

      Except that they were referring to software, where no such convention exists. It is common to abbreviate Windows Server 2003 to 2K3, for example.

    25. Re:Dunno... by fritsd · · Score: 1

      Office 2.7K "moron"? Is that the next version?

      --
      To be, or not to be: isn't that quite logical, Slashdot Beta?
    26. Re:Dunno... by Duhavid · · Score: 1

      That should be lxviDXXXvi

      --
      emt 377 emt 4
  11. Good Luck! by feranick · · Score: 1

    To all people in science and engineering (I know lots of them) using Excel to analyze their data...

    1. Re:Good Luck! by MightyMartian · · Score: 1

      I'll wager most are still using some Office2k variant, so I doubt this issue will affect them all that much.

      --
      The world's burning. Moped Jesus spotted on I50. Details at 11.
    2. Re:Good Luck! by bockelboy · · Score: 3, Insightful

      If they are using Excel to analyze their data, I don't want to drive over a bridge they are designing...

      None of the math or physics folks I work with would think about using Excel for their data.

    3. Re:Good Luck! by AJWM · · Score: 4, Insightful

      Yeah...cause the chances of having a number evaluate to 65,535 via multiplication is extremely common.

      What are the odds of that bug only affecting that number? It's a symptom that the underlying routine is totally fscked, in ways that could cause nasty surprises.

      If it gave the wrong answer all the time you'd know it was crap and would just ignore the whole thing. It's when it only gives wrong answers some of the time that can lead you into a false sense of confidence.

      You've also got to wonder, if it worked fine in previous versions of Excel, what the frack they were messing with to hose it up. It's not like somebody changed the rules of arithmetic recently, did they?

      --
      -- Alastair
    4. Re:Good Luck! by Shados · · Score: 1

      Funny enough, Excel 2007 is a decent OLAP client... so I guess its not Excel itself doing the maths, but its still analysing data =P

    5. Re:Good Luck! by the_fat_kid · · Score: 1

      this rare and uncommon number is 931,422 less that you slashdot ID (yes, 1,028,864 lower than mine)
      it is also the last five digits of my work phone number, the zip code for Leasburg, MO, and, according to WIKIpedia, "65535 is a frequently occurring number in the field of computing because it is the highest number which can be represented by an unsigned 16 bit binary number"

      but I'm sure it will never come up

      --
      -- Sig under construction...
    6. Re:Good Luck! by SnowZero · · Score: 2, Insightful

      Let's see, on one hand, we have a 16-bit integer. On the other hand, we have computers that can do almost a billion multiplies per second. Nope, shouldn't be a problem... oh wait. The Pentium bug was much more difficult to hit, yet with millions of them out there, people managed to hit it while doing important computations (money, safety, etc). Another post mentions structural engineers using Excel, and I doubt they are doing just simple sums and averages; Would you really want go through an earthquake in a building with safety margins calculated in Excel?

    7. Re:Good Luck! by bmo · · Score: 4, Insightful

      "cause the chances of having a number evaluate to 65,535 via multiplication is extremely common."

      "No it doesn't really affect anything. "

      Oh, it's only the largest unsigned 16 bit number and comes up in a crapload of places. Enough times that you should have _memorized_ it by now.

      Jeez. Please turn in your geek card NOW.

      --
      BMO

    8. Re:Good Luck! by Anonymous Coward · · Score: 0

      "it is also the last five digits of my work phone number, the zip code for Leasburg, MO, and, according to WIKIpedia"

      Which are both horrible examples because you are rarely going to try to determine a phone number or zip code by multiplying numbers.

      There are lots of us who do work with numbers in that range all that time and it's a real concern then, but your examples don't really apply to the situation at all.

    9. Re:Good Luck! by Anonymous Coward · · Score: 0

      Peep's in Sci/Eng will figure/sort it out one way or the other.

      Not so sure about those finance/accounting g's, but they'll be the ones to make MS fix the thing.

    10. Re:Good Luck! by teh+moges · · Score: 4, Insightful

      I'd say the chances of it only effecting this number are quite high.
      I'm not the only one that recognised this as the 16bit number (see some of the other posts in this thread).
      I'd wager a fair amount of money to say that numbers under 65535 are represented as 16 bit ints but anything over that number is changed on the backend to possibly a 32bit number. This allows faster calculations of smaller numbers (which happen quite a lot) while still allowing higher numbers to be used. The developers created this system, but forgot to test the edge cases (though it can be argued that they don't test any cases before release). If it were to happen to any other number, it would either be at the 8 bit number (though I doubt it) or at the 32/64 bit number they use for the larger values.

    11. Re:Good Luck! by MillionthMonkey · · Score: 1

      I would image you have a better chance of winning the lottery than encountering this problem in a way that actually affects you, much better.

      LOL... Unfortunately for Microsoft people win the lottery every day!

    12. Re:Good Luck! by SurturZ · · Score: 1

      Actually it isn't all calculations that result in 65535 that cause the problem.

      850 x 77.1 gives 100,000

      but 85 x 771 gives the correct result of 65535.

    13. Re:Good Luck! by sdhoigt · · Score: 1

      > It's not like somebody changed the rules of arithmetic recently, did they?

      That reminds me of one of my favorite "lightbulb screw in-eth" jokes.

      How many Microsoft engineers does it take to screw in a light bulb?

      None. They just declare darkness the standard.

    14. Re:Good Luck! by Petrushka · · Score: 2, Interesting

      If it were to happen to any other number, it would either be at the 8 bit number (though I doubt it) or at the 32/64 bit number they use for the larger values.

      That's a good point. Has someone with Excel 2007 tested whether a similar bug comes up with (2^32)-1?

    15. Re:Good Luck! by logicnazi · · Score: 1

      That's almost certainly because that is a fully integer calculation rather than a floating point calculation.

      --

      If you liked this thought maybe you would find my blog nice too:

    16. Re:Good Luck! by KnowThePath · · Score: 1
      I am a structural engineer; and sorry to break the news to you, but that's what most structural engineers use for design. Typically analysis is done in one of these commercially available analysis packages and post processing and design is carried out with the help of spreadsheets. Real world engineering involves plenty of approximations and safety factors that are arrived at using stochastics and reliability analysis. Slightly different from what your 'physics and math folks' do.

      I don't want to drive over a bridge they are designing... YOu probably already do
    17. Re:Good Luck! by djimi · · Score: 1

      I concur -- doesn't anybody know what 64K is? --- I guess they didn't program Apple ][ computers back in the day...

      --
      Vox et praetera nihil
    18. Re:Good Luck! by GileadGreene · · Score: 1

      I'd wager a fair amount of money to say that numbers under 65535 are represented as 16 bit ints but anything over that number is changed on the backend to possibly a 32bit number. This allows faster calculations of smaller numbers (which happen quite a lot) while still allowing higher numbers to be used.
      I don't really see the point of doing 16-bit arithmetic on a 32-bit machine. It's not likely to be any faster than doing straight 32-bit arithmetic, particularly since integral promotion may well boost the 16-bit value to a 32-bit value for arithmetic anyway. Besides, 65535 is at the top end of the unsigned 16-bit int range, which seems an odd type to be using for spreadsheet calculations (where negative values are as likely as positive). I agree that the value itself indicates some kind of 16-bit snafu. I just don't think it's caused by trying to perform unsigned 16-bit arithmetic.
    19. Re:Good Luck! by Lehk228 · · Score: 1

      some fool probably used 65536 as a sentinel value within the calculation. why this would be done by anyone your guess is as good as mine

      --
      Snowden and Manning are heroes.
    20. Re:Good Luck! by ross.w · · Score: 4, Insightful

      Rubbish.

      spreadsheets have their place.

      Just about every engineer I know (and yes, IAAE)uses Excel for calculations with no issues at all. Yes they use more specialised (and expensive) tools for things like Finite Element analysis (ie bridges, etc.) and so on, but a lot of everyday stuff gets done on spreadsheets.

      Everything from hydraulic calculations to reinforcing quantities can be done in a spreadsheet.

      However it would be a mistake to rely solely on results produced by any software without using some judgement on the results. Problems come when people get too trusting of software, whether its a spreadsheet or a $20,000 Analysis package.

      Mind you, none of the engineers I know are using Excel 2007 yet, and aren't likely to while this sort of problem is out there.

      --
      If my call is important, why am I talking to a recording?
    21. Re:Good Luck! by Vampo · · Score: 1

      Does this mean that excel 2007 can handle 100000 rows now?

    22. Re:Good Luck! by Skates1616 · · Score: 0, Troll

      Just tried and I get this:

      4294967295

    23. Re:Good Luck! by Carewolf · · Score: 1

      Rubbish.

      spreadsheets have their place.


      Yes, in accounting.

    24. Re:Good Luck! by ross.w · · Score: 1

      So you're suggesting we use calculators instead? or FORTRAN subroutines?

      Get real.

      --
      If my call is important, why am I talking to a recording?
    25. Re:Good Luck! by goonerw · · Score: 1

      That's a good point. Has someone with Excel 2007 tested whether a similar bug comes up with (2^32)-1? Doesn't work. I tried various combinations of products but I couldn't make it do something funny.
      --
      LOAD ".SIG"
      PRESS PLAY ON TAPE
    26. Re:Good Luck! by Qrlx · · Score: 1

      Large aspects of the Boeing 777 design were tracked using several thousand Excel spreadsheets.

      Enjoy your next flight!

    27. Re:Good Luck! by gordo3000 · · Score: 1

      real engineers use slide rules......

    28. Re:Good Luck! by Briareos · · Score: 1

      doesn't anybody know what 64K is?

      65536, not 65535. Your point?
      --

      "I'm not anti-anything, I'm anti-everything, it fits better." - Sole

    29. Re:Good Luck! by Anonymous Coward · · Score: 0

      It's also pretty recognizable for anyone who grew up on a commodore 64 -- if I recall, "SYS 65535" reset the system (or did something similar). It's one of the many five digit numbers stuck in my head thanks to that machine (anyone else remember 53280, 53281? :-) ).

    30. Re:Good Luck! by Anonymous Coward · · Score: 0

      The point is, that
      65535 can be written as FFFF in Hexadecimal.

    31. Re:Good Luck! by JustOK · · Score: 1

      COBOL, you fool.

      --
      rewriting history since 2109
    32. Re:Good Luck! by Anonymous Coward · · Score: 0

      It's likely that the routine was inherited from 16-bit excel..
      Remember it's highly probable that Excel 2007 is a direct (code-wise) descendant of Excel 1.0 (as is the case for most long-lived business apps).

    33. Re:Good Luck! by Anonymous Coward · · Score: 0

      Oh, it's only the largest unsigned 16 bit number and comes up in a crapload of places. Enough times that you should have _memorized_ it by now.

      It is also one of those annoying boundary values that comes up in a crapload of bugs that have to do with math routines on a computer. Enough times that test routines for something as math intensive as spreadsheets should test it 65,536 ways from Sunday.

      Jeez, Microsoft employee in charge of testing spreadsheets. Please turn in your Microsoft ID card now.

    34. Re:Good Luck! by Archimonde · · Score: 1

      Actually it is (2^16)-1. But in any case, you get the correct result (65535) somehow.

      --
      Trolls are like broken clocks. They show the truth two times a day. The rest of the day they talk nonsense.
    35. Re:Good Luck! by PeterBrett · · Score: 2, Informative

      Real engineers use the back of an envelope, a pencil and some rules of thumb.

    36. Re:Good Luck! by imsabbel · · Score: 1

      No, something at least slightly scientific, like origin, igor pro, mathlab, ect.

      --
      HI O WISE PRINCE. WHT TOOK U SO DAM LONG?
    37. Re:Good Luck! by Moridineas · · Score: 1

      The Pentium bug was much more difficult to hit, yet with millions of them out there, people managed to hit it while doing important computations (money, safety, etc). Really? I never heard of anyone hitting it while doing "money or safety" computations--do you have any further info?
    38. Re:Good Luck! by howlingmadhowie · · Score: 1

      but is it acceptable to wager and bet on the likelihood of mathematical errors in the most-used piece of software for mathematical purposes in the world? one error has been found. how many more are there? who knows?

      from now on, any calculation i see done in excel will have to be double checked in another software (is that necessarily better?) or by hand. and there goes the main reason for using excel.

    39. Re:Good Luck! by Von+Helmet · · Score: 1

      Yeah...cause the chances of having a number evaluate to 65,535 via multiplication is extremely common.

      Well, it's not prime (it breaks down as 3*5*17*257) so there is a chance it'll come up from time to time.

    40. Re:Good Luck! by Anonymous Coward · · Score: 0

      I've always enjoyed this "feature":

      http://www.metacafe.com/watch/838403/why_i_love_excel/

    41. Re:Good Luck! by jbeaupre · · Score: 1

      I find myself doing exotic stuff in Excel so I can send it to others. It works, people can look at the guts, and people are comfortable with excel spitting out answers.

      For example, one time I had a PC, a unix workstation, 2 CAD systems, 2 FEA systems, matlab, and so on sitting on my desk. I needed to simulate a dynamic device made from nitinol, allowing for a wide range of dimensions, outputting forces, sizes, and a 3-D rotatable view. The easiest way was to use an analytical model. So Matlab and Excel were top contenders.

      But I'm the only one with Matlab and I need to share this with non-technical people (ends the "have you tried?" questions pretty effectively). Sure, it could be compiled, but that opened up new problems (people told under penalty of death never to run an executable). Short while later, it's done and mailed out.

      So sure, Excel worked just fine. All the managers played with the model until they decided they didn't like the results. They went and hired consultants to simulate one variant using FEA (mine simulated the entire design space). Only $100k. 2 months later these guys came back and said "Our results agree with the Excel simulation. The difference? Well, we couldn't include as many variables as the Excel, so yeah, FEA is less accurate."

      As an independent consultant now, I still alternate between FEA, Matlab, and Excel as needed. Maybe if I wasn't so efficient I could $100k contracts out of companies too.

      --
      The world is made by those who show up for the job.
    42. Re:Good Luck! by fritsd · · Score: 1
      Does this give anything interesting? (disclaimer: I don't have MS Windows and am just trying to have a laugh here)

      37282700 * 0.45

      should be 16777215 (2^24-1)

      --
      To be, or not to be: isn't that quite logical, Slashdot Beta?
    43. Re:Good Luck! by Anonymous Coward · · Score: 0

      Jeez. Please turn in your geek card NOW.

      Well, there must be a couple of those laying there, I turned mine in last year after I got laid.

      Now if you could get all the illiterates here to turn them... what? You mean there really ARE two "o"s in "loser" and you really ARE supposed to use an apostrophe for a plural?

      -mcgrew
      Today's on-topic link to my name is Fun with offline trolls (May 2003). Well ok, almost on-topic. Oh wait, LinuxAte My Diary (August 2003) fits the topic better.

    44. Re:Good Luck! by mysticgoat · · Score: 1

      This just in...

      • If you enter "77.1" into a cell, you get the problem.
      • But if you enter the sequence "76.9", "77.0" in adjacent cells, then use the sequence extender to fill the next cell with "77.1", arithmetic using that cell works right. But inspection of the cell shows it holds "77.09999...", not the "77.1" that it displays.

      Is there an easy algorithm to identify other similar numbers? I'm guessing this has to do with representations of fractional numbers as binary floats, and that there are a family of numbers that will generate the 77.1 problem.

      If nothing else, somebody with a few minutes could probably generate a "sieve" matrix that would explore this empirically.

    45. Re:Good Luck! by feranick · · Score: 1

      "None of the math or physics folks I work with would think about using Excel for their data." They compile their own programs in Fortran. Engineers though love to make spreadsheets in Excel. It's easy and you can do a lot of simple calculations. Call it pragmatism vs purism.

    46. Re:Good Luck! by Anonymous Coward · · Score: 0

      they use more specialised (and expensive) tools for things like Finite Element analysis (ie bridges, etc.)

      Right, but this one was done with Excel for sure.

    47. Re:Good Luck! by hotsauce · · Score: 1

      The developers created this system, but forgot to test the edge cases

      What did they test it on then?! The numbers the developers told the testers would work? Why even bother testing?

      I thought boundry cases were the first thing you test? Or is that just too old-school?

    48. Re:Good Luck! by ross.w · · Score: 1

      Maybe, but that's not why it fell down.

      --
      If my call is important, why am I talking to a recording?
    49. Re:Good Luck! by Vintermann · · Score: 1

      Oh, that doesn't matter, since the software on the plane is 99% Ada!

      --
      xkcd is not in the sudoers file. This incident will be reported.
    50. Re:Good Luck! by sibtrag · · Score: 1

      If you use a smaller representation, then more numbers (cells) fit into your cache. This will give speed improvements especially if some algorithm is forcing re-calcs regularly.

  12. Numerical Analysis of MS Excel by Anonymous Coward · · Score: 0, Informative

    Years ago I wrote a parser and interpreter for MS Excel. At that time, the numerical representation was not IEEE floating point, but a truncated, poor cousin (8 bit) of a decent float implemetation called "RK numbers". I recall that I needed to interpolate and provide semi-randomized numbers for the gaps in the number line that 8 bits (mantissa + ordinate) would incur.
    I wonder if MS still uses this implementation - which goes back to the early 1990s. It's a propietary, gappy implementation that was based, I think, on Mac / Motorola implementations.
    Just my cut on it - I may be off base.

    1. Re:Numerical Analysis of MS Excel by Mr2001 · · Score: 2, Informative

      RK numbers in Excel. They're not quite how you described them, though. It's a 32-bit value that can hold a 30-bit floating point number or a 30-bit integer (the last 2 bits are for the type), and if a number can't be represented either way, Excel will save it as a 64-bit IEEE float.

      --
      Visual IRC: Fast. Powerful. Free.
    2. Re:Numerical Analysis of MS Excel by Anonymous Coward · · Score: 0

      It's interesting that the number it has problems with falls on the bounds of a WORD (0 to 65535). I wonder if this problem has something to do with a type-cast error or something along those lines.

    3. Re:Numerical Analysis of MS Excel by 19thNervousBreakdown · · Score: 1

      It's very interesting, because whenever I run unit tests, even more important than randomized testing is the edge cases. In this case, the numbers they should be running through all their functions would be (for short) -65536 -65535 -257 -256 -255 -2 -1 0 1 254 255 256 65534 65535. That right there catches 95% of the errors for the standard operations (+,-,*,/). I couldn't imagine not running those tests for a numeric library. It's just .... stupid.

      To go from 65535 to 100000 ... I dunno. Maybe a weird string conversion error? I can't see it be a casting error of any sort, 100000 just isn't a number that's naturally represented on a computer in any way.

      Actually, if I had to guess, I'd say rounding error combined with overflow, or maybe negative numbers. abs(-65536 * -1) = 1. Substitute * for /, or 100000 for 0.000001... who knows.

      --
      <xml><I><am><so><damn>Web 2.0</damn></so></am></I></xml>
    4. Re:Numerical Analysis of MS Excel by Anonymous Coward · · Score: 0

      Lisp systems have been implementing numbers (and other types) in a similar way for years. (Except small integers have zeros in bits 1-2 so that addition and subtraction require no checks). In Lisp implementations however, integers are automatically convert to "Big Nums" upon overflow. And big nums can grow indefinitely. Yes big nums are a bit slower because their operations take more than a single cycle... but they are accurate. (Many Lisps also have rational numbers: x=y/z and hence can represent divisions perfectly by storing y & z.) Interesting to have a peek at how Excel does it.

      Anon

  13. Google Spreadsheet bug by DJ_Perl · · Score: 4, Interesting

    Open a Google Docs spreadsheet. Type =COMBIN(55,27)

    --
    -- Subvert the dominant paradigm. Repeat as desired. http://ownlifeful.com/
    1. Re:Google Spreadsheet bug by skeeto · · Score: 1

      Yep, just tried it. It gives,

      3824345300380220.5

      That is not an integer so the answer is obviously wrong. Here is the correct answer as provided by GNU Octave,

      octave:5> nchoosek (55, 27)
      ans = 3824345300380179
    2. Re:Google Spreadsheet bug by orkysoft · · Score: 1

      It's almost correct, so my guess is that this is a rounding error.

      --

      I suffer from attention surplus disorder.
    3. Re:Google Spreadsheet bug by AJWM · · Score: 1

      Your octave answer looks wrong. I don't have octave installed, but checking with bc gives me 3824345300380220. The '0179' ending of the octave result just looks wrong.

      > bc
      bc 1.06
      Copyright 1991-1994, 1997, 1998, 2000 Free Software Foundation, Inc.
      This is free software with ABSOLUTELY NO WARRANTY.
      For details type `warranty'.
      (55*54*53*52*51*50*49*48*47*46*45*44*43*42*41*40*39*38*37*36*35*34*33*32*31*30*29) / (27*26*25*24*23*22*21*20*19*18*17*16*15*14*13*12*11*10*9*8*7*6*5*4*3*2*1)
      3824345300380220

      This, BTW, is the same result that OpenOffice.org gives. (No ".5" either.)

      --
      -- Alastair
    4. Re:Google Spreadsheet bug by bky1701 · · Score: 1

      According to my calculator, that has never been wrong in the past, it's 3824345300380220.

    5. Re:Google Spreadsheet bug by kramulous · · Score: 2, Insightful

      Come on /. let's see how far this can be reduced before we use a piece of silicon (If that is required).
       
      Now, unless I'm mistaken, this reduces to:
      4*5*7*11*17*29*31*37*41*43*47*53
      which you'll notice is the multiplication of all prime numbers between 53 and 27 (inclusive). I can't spot any further properties, hence probably need somebody to check this.

      --
      .
    6. Re:Google Spreadsheet bug by Mr+Z · · Score: 1

      Hmmm... That is a 42 bit number. Depending on what order you do the math, you could easily have some intermediate loss of precision, even with the generous 52-bit mantissa "double" gives you. Factorials are bad news. :-)

    7. Re:Google Spreadsheet bug by Mr+Z · · Score: 2, Informative

      Erp. I can't count. That IS a 52 bit number, and so is right on the edge of what a double precision mantissa can store. Move along.

    8. Re:Google Spreadsheet bug by taupin · · Score: 1

      "Now, unless I'm mistaken, this reduces to: 4*5*7*11*17*29*31*37*41*43*47*53"

      Of course it does.
      COMBIN(x,y) = x! / (y! (x-y)! )
      COMBIN(55,27) = 55! / (27! * 28!) = (55 * 54 * ... * 29) / (27 * 26 * ... * 2 * 1)
      For every x in the denominator, 2x is in the numerator, so this is an integer. Furthermore, it's evident that no prime greater than or equal to 29 can be cancelled out of the numerator, so the end-factorization will include all primes between 53 and 29 (inclusive; 27 is _not_ a prime).

      No silicon needed. Well, except to type/enter this on /.

    9. Re:Google Spreadsheet bug by Anonymous Coward · · Score: 1, Informative

      Ha fool - Octave is wrong!

      3824345300380220 is the answer. Go suck a tree.

    10. Re:Google Spreadsheet bug by firepoet · · Score: 1

      FYI .. Apple Numbers gives the right result: 3,824,345,300,380,220

    11. Re: Google Spreadsheet bug by Dolda2000 · · Score: 1
      While it is obvious that Google Spreadsheet has it wrong, it does seem to me as if that Octave function of yours gives the wrong answer as well (however, I couldn't even find the nchoosek function in my Octave installation).

      However, that Octave gets such a thing wrong is hardly surprising. Octave's strength never was to do arithmetics with large integers. In fact, AFAIK Octave never uses integers at all; I'm pretty sure it always uses floating point numbers, so when doing calculations on such large numbers (55! / (27! * (55 - 27)!)), it is hardly surprising that it truncates the numbers somewhere along the line.

      When I calculate the same binomial in Emacs Cals, I get 3824345300380220, which is extremely close to Google Spreadsheet's answer. I cannot really imagine how they manage to add that extra 0.5, though.

    12. Re:Google Spreadsheet bug by Anonymous Coward · · Score: 0

      Except that, you know, it's integer arithmetic and you shouldn't be using doubles for it in the first place.

    13. Re:Google Spreadsheet bug by Anonymous Coward · · Score: 0

      Open a Google Docs spreadsheet. Type =COMBIN(55,27)


      feel better now, bill?
    14. Re:Google Spreadsheet bug by Mr+Z · · Score: 1

      It's a spreadsheet. Show me where I can declare a cell "long long"? Cells have floating point numbers by default.

    15. Re:Google Spreadsheet bug by BigFootApe · · Score: 1

      Not sure why that function is wrong, but Octave can handle the precision ok.



      octave:10> function answer = fact(n)
      > answer = 1;
      > for i = 2:n
      > answer = answer * i;
      > endfor
      > endfunction
      octave:11> fact(55)/(fact(27)*fact(55-27))
      ans = 3.82434530038022e+15
  14. So? by Chouonsoku · · Score: 1

    Who really needs the rest of those numbers between 65,535 and 100,000 anyway. If I can't count something on my 65,534 fingers, I just don't bother.

    1. Re:So? by eggfoolr · · Score: 5, Funny

      Was it not Bill himself who said you would never need more than 64K of memory? Well it's official, you don't need any number greater than 64K either!

      Just remember Micro$oft knows best... move along, nothing to see here.

    2. Re:So? by Chapter80 · · Score: 1

      Well it's official, you don't need any number greater than 64K either!
      Good joke, but isn't 65535 one LESS than 64K.

      It doesn't take a math guru to know that - just a first year Computer Science student.

    3. Re:So? by Anonymous Coward · · Score: 0

      And experienced engineers count from 0 ;-)

    4. Re:So? by JimFive · · Score: 1

      Of course, If you have a 64K address space the first byte is byte 0x0000 and the last byte is byte 0xFFFF = 65535. Keep working on that CS degree.

      --
      JimFive

      --
      Please stop using the word theory when you mean hypothesis.
    5. Re:So? by Anonymous Coward · · Score: 0

      Was it not Bill himself who said you would never need more than 64K of memory No, it was not. He did say something similar about 640K though.

      (captcha: unproven)
    6. Re:So? by Anonymous Coward · · Score: 0

      Why bother - he should just switch to Criminal Justice and save himself a lot of heartache.

    7. Re:So? by Chapter80 · · Score: 1
      Nice try on your attempt to be an asstunnel - you succeeded. However, your correction missed the mark. The original post said:

      Well it's official, you don't need any number greater than 64K either!
      to which I pointed out that 65535 is one LESS than 64K. Even if you add one, you still do not have a number greater than 64K.
  15. It only gets worse. by The+Earl+of+Sandwich · · Score: 5, Funny

    Try =6*9.

    1. Re:It only gets worse. by $RANDOMLUSER · · Score: 5, Funny

      Try =6*9.
      6 * 9 = 42
      What's your point?
      --
      No folly is more costly than the folly of intolerant idealism. - Winston Churchill
    2. Re:It only gets worse. by The+One+and+Only · · Score: 1

      Wow, this is the first time I've seen the explanation to a joke modded Funny and the joke itself not modded up at all.

      --
      In Repressive Burma, it's not just your connection that dies. slashdot.org/comments.pl?sid=314547&cid=20819199
    3. Re:It only gets worse. by $RANDOMLUSER · · Score: 1

      I must totally agree. But then again, there's something essentially wrong about the universe...

      --
      No folly is more costly than the folly of intolerant idealism. - Winston Churchill
    4. Re:It only gets worse. by MostAwesomeDude · · Score: 4, Funny

      So this means that Microsoft is the fundamental flaw in the universe? ...Okay, I'm convinced.

      --
      ~ C.
    5. Re:It only gets worse. by RobNich · · Score: 2, Funny

      Perhaps it's because 6 * 9 = 54.

      --
      Hello little man. I will destroy you!
    6. Re:It only gets worse. by Anonymous Coward · · Score: 0

      In Base 13, 6*9 does indeed equal 42

    7. Re:It only gets worse. by TheCoelacanth · · Score: 2, Insightful

      Apparently, someone's never read the The Restaurant at the End of The Universe.

    8. Re:It only gets worse. by throup · · Score: 1

      Or even, referring to the original source, listened to episode 6 of the radio series, The Hitchhiker's Guide To The Galaxy.

    9. Re:It only gets worse. by arivanov · · Score: 1

      while (42) {
            print "So long, and thanks for all the fish\n";
      }

      --
      Baker's Law: Misery no longer loves company. Nowadays it insists on it
      http://www.sigsegv.cx/
    10. Re:It only gets worse. by James+Kilton · · Score: 1

      You fail at modern culture. Please unplug your computer, cancel your internet / cable / phone, and sit yourself in a library until you achieve enlightenment.

    11. Re:It only gets worse. by Ahuitzotl · · Score: 1

      Try it again in base 13...

    12. Re:It only gets worse. by Anonymous Coward · · Score: 0

      I may be a sorry case, but I don't write jokes in base 13.

    13. Re:It only gets worse. by Keebler71 · · Score: 1

      which base?

      --
      "It takes considerable knowledge just to realize the extent of your own ignorance." - Thomas Sowell
    14. Re:It only gets worse. by Anonymous Coward · · Score: 0

      Perhaps it's because 6 * 9 = 54.

      That may be true, but SIX * NINE = 42. Don't believe me? Run the following program...

      #include <stdio.h>
      #define SIX 1 + 5
      #define NINE 8 + 1
      #define SHOW(x) printf ("%s = %d\n", #x, x)
      int main (int c, char**v) { SHOW (SIX); SHOW (NINE); SHOW (SIX * NINE); return 0; }

      Output:

      SIX = 6
      NINE = 9
      SIX * NINE = 42
  16. Vista Sales by xs650 · · Score: 4, Funny

    It's used in the algorithm that MS uses to report Vista sales.

    1. Re:Vista Sales by Anonymous Coward · · Score: 0

      Are you trying to say that there have been more then 65k vista sales?

    2. Re:Vista Sales by xs650 · · Score: 1

      Sorry, I should have said sales projections.

    3. Re:Vista Sales by Jehosephat2k · · Score: 1

      This is probably how the MAFIAA come up with their scewed piracy losses, they use Excel!

  17. Explains a lot! by jcarkeys · · Score: 1

    Hmm... I guess MIT has a valid excuse for screwing up their SAT Math scores...

    1. Re:Explains a lot! by Tablizer · · Score: 1

      Hmm... I guess MIT has a valid excuse for screwing up their SAT Math scores...

      They used Open Office, shhhhh....

  18. Feature, not a bug by wooden+pickle · · Score: 1

    Sounds like something intentionally put in for The DoD budget.

  19. Re:obviously malicious by Cassius+Corodes · · Score: 4, Insightful

    Never attribute to malice what can be adequately explained by incompetence.

    --
    Control is an illusion, order our comforting lie. From chaos, through chaos, into chaos we fly
  20. Another thing to try by Anonymous Coward · · Score: 0

    Try this

    Alt-F11 (to get into VBA mode, or Menu-Tools-Macro-Visual basic editor)
    Ctrl-G (immediate window)

    msgbox (20123 + 10)
    You get 20133 as you would expect

    try:
    msgbox (20123 + 20123)
    d'oh - can't handle this, must wait for advanced version of the software to come out :^@

  21. Re:obviously malicious by Anonymous Coward · · Score: 0

    I hear you brother, I specifically look for these types of errors when I am reviewing the code on open source spreadsheet programs. I am about 90% of the way through Gnumeric 1.0.1 and I should ready to put it into production in about another six months.

  22. Microsoft Excel is the Worst Part of Office 2007 by ChaoticCoyote · · Score: 2, Interesting

    I use the Office 2007 versions of Word, Excel, and OneNote on a regular basis for my Windows business work; the *only* one I've had *any* trouble with is Excel. I can blue screen my machines with Excel on a regular basis; unfortunately, one of my paying customers requires Excel 2007 because they invested heavily in it (long before I was contracted), so I haven't got much choice, since .xlsx documents won't open in any FOSS spreadsheet apps.

    For my personal work, I use Gnumeric on Linux.

  23. So What? by Ritchie70 · · Score: 1

    I literally don't know ANYONE who does any math, whatsoever, in Excel.

    It's all tables and primitive databases. The guy in the next cube does some pretty graphs. That's as close as it gets.

    --
    The preferred solution is to not have a problem.
    1. Re:So What? by MT628496 · · Score: 1

      Are you serious? People do it all the time, whether working on a budget or inventory etc.

    2. Re:So What? by Ritchie70 · · Score: 1

      I'm joking in my statement, but serious that I've never seen it at my work.

      --
      The preferred solution is to not have a problem.
    3. Re:So What? by RogueCode · · Score: 1

      literally don't know ANYONE who does any math, whatsoever, in Excel. Have you ever been in a investment bank, private equity, derivative/"high yield" funds ? ALL they use is Excel. I think that should explain one thing or two about subprime crisis...
    4. Re:So What? by Titoxd · · Score: 1

      I literally don't know ANYONE who does any math, whatsoever, in Excel. Then you are not a student.

      Simply put, Excel does come with some nifty statistics functions, and the ability to put a chart or table in a Word document is priceless when doing written reports for science classes. True, it is not the first thing that comes to mind; the best program for such type of analysis is something similar to MATLAB, but Excel's matrix functions are not that horrible, putting these senseless blunders aside. Unless you have a lot of money to shell out for a MATLAB license (if you are a student, you can get a semi-reasonable price, but if you're a company, be prepared to pay several grand for a commercial license), Excel is the tool of choice for most of the work we do at an undergraduate level. It is widely available, so you know you can work on your data *cough*homework*cough* in many places.

      While other FOSS software may come with this ability, it is a lie to simply say that no one uses Excel for mathematical analysis.

      ~~~~
    5. Re:So What? by aichpvee · · Score: 0, Flamebait

      I can't imagine you'd need a lot of spreadsheets at McDonald's.

      --
      The Farewell Tour II
    6. Re:So What? by icebrain · · Score: 1

      I'm an engineer at a large airplane company... we use it all the time.

      --
      The meek may inherit the earth, but the strong shall take the stars.
    7. Re:So What? by Anonymous Coward · · Score: 0

      I took some EE courses recently and, while working on a lab, fired up Excel thinking I could do some quick calculations and a graph only to find that the complex numbers module was not installed and I couldnt remember where I stashed my Office install CD. Doh!

    8. Re:So What? by jmvbxx · · Score: 1

      I just did a math assignment for a graduate class and we had to do it in excel to show that we understood the basics and could technically manage the math that was being learned! (linear systems solvers - and they are a collosal pain in excel, i can assure you)

    9. Re:So What? by GrahamCox · · Score: 1

      The WATERMARK (granular matrix) sensor is an indirect method of measuring soil water. It is an electrical resistance type sensor, that converts the electrical resistance reading to a calibrated reading of centibars of soil water suction.

    10. Re:So What? by GrahamCox · · Score: 2, Funny

      literally don't know ANYONE who does any math, whatsoever, in Excel. It's all tables and primitive databases. The guy in the next cube does some pretty graphs. That's as close as it gets.

      That's it then, definitive proof. Microsoft can breathe easy tonight, because you don't know anyone who would be affected by this bug. Ego problem, at all?

    11. Re:So What? by ciroknight · · Score: 1

      I *knew* there was a reason I was afraid of heights.

      --
      "Victory means exit strategy, and it's important for the President to explain to us what the exit strategy is." G.W.Bush
    12. Re:So What? by Ritchie70 · · Score: 1

      OMFG you guys are hilarious.

      I know people do math with Excel. Lots of math. Really hard math. I get it.

      In a prior job, I had two, cross-linked Quatro Pro spreadsheets that did fairly complex sales and sales forecast modelling, based on year to date sales and historical data from the last 10 years. (I had Quatro because it was $50 at the time. We were both poor and cheap.)

      I was a CS major back when you did matrix manipulation and whatnot with either MATLAB on a Unix system or paper and pencil, but I guess I can imagine trying to do it in Excel. Ewww.

      All that said.... I would bet you (and I feel safe, because I don't think it can be proven) that there are many more spreadsheets out there that are used to make pretty columns and imitate a database than there are doing math.

      It is true, however, that aside from counting up the number of entries in a column, there's little to no actual math going on with Excel on this wing of this floor in this building.

      --
      The preferred solution is to not have a problem.
  24. hopefully openoffice.org by Anonymous Coward · · Score: 0

    ...did not copy this.

  25. The number of the beast.... by RealGrouchy · · Score: 1

    Nobody at Microsoft is actually allowed to use the number 65,535, lest Steve Ballmer come and rain fiery chairs down upon them.

    (Should I have gone with the "MacBeth/Scottish Play" reference instead?)

    - RG>

    --
    Hey pal, this isn't a pleasantforest, so don't waste my time with pleasantries!
  26. Re:Microsoft Excel is the Worst Part of Office 200 by QuantumG · · Score: 1, Insightful

    Here's a tip. If an application can cause a kernel fault, it's not the application that is broken.

    --
    How we know is more important than what we know.
  27. Check a C multiply on that machine... by tjstork · · Score: 2, Insightful

    Just for the heck of it. There's always an offbeat chance that the multiply bug is in the CPU, not Excel....

    --
    This is my sig.
    1. Re:Check a C multiply on that machine... by Vombatus · · Score: 1
      There's always an offbeat chance that the multiply bug is in the CPU, not Excel....

      But it works as expected in other versions of Excel - that would rule out a CPU problem

      --
      This sig is intentionally blank
    2. Re:Check a C multiply on that machine... by Anonymous Coward · · Score: 0

      Not if the two different versions of Excel use different instructions, or the CPU bug is more involved than a simple MUL-like instruction any time. Like if the instruction cache or the page tables had to be set up in a specific way that Excel 2007 triggers but other versions don't.

    3. Re:Check a C multiply on that machine... by The+MAZZTer · · Score: 4, Insightful

      A number of people have verified the bug, and it's quite improbable they ALL have the same model of CPU.

    4. Re:Check a C multiply on that machine... by wizardforce · · Score: 1

      Not if the two different versions of Excel use different instructions
      now why would that be? oh right, we can't have backwards compatibility, that would allow competition. [just kidding] but really, what was the reason for changing the way excel evaluates a function? what did that change actually improve? security? ease of use? what?
      --
      Sigs are too short to say anything truly profound so read the above post instead.
    5. Re:Check a C multiply on that machine... by Aladrin · · Score: 1

      More importantly, I've not seen anyone say they -don't- see the bug. (I don't have Excel 2007, so I can't check.)

      --
      "If you make people think they're thinking, they'll love you; But if you really make them think, they'll hate you." - DM
    6. Re:Check a C multiply on that machine... by Qubit · · Score: 1

      it's quite improbable they ALL have the same model of CPU

      Right. Let's say that 850 people have tested this bug. Now we can just plug that into Excel... ...put in the 850 ... carry the 1... multiply through with 77.1 and... done!

      Chances are 1/100,000 that they're using the same CPU model.
      --

      coding is life /* the rest is */
    7. Re:Check a C multiply on that machine... by felipekk · · Score: 0, Redundant

      I _DON'T_ see the bug on my XV6600, running Windows Mobile 2003 2nd Ed with Pocket Excel.

    8. Re:Check a C multiply on that machine... by Aladrin · · Score: 1

      You also apparently didn't bother to research the bug at all. It only affects Office 2007 on real Windows, not mobile.

      --
      "If you make people think they're thinking, they'll love you; But if you really make them think, they'll hate you." - DM
    9. Re:Check a C multiply on that machine... by felipekk · · Score: 1

      Of course I didn't. This is slashdot...
      Besides, a lot of people were reporting their results in older versions of Excel and even in OO.org, so I figured to give it a try and test it on Mobile. Maybe no one tested it before and the same bug existed? You can't possibly blame me for that...
      Oh, and one more thing, my mobile device also uses "real" Windows, just a different version.

  28. I can see the OOXML tag now... by mad.frog · · Score: 5, Funny


            =850*77.1
    </MultiplyLikeExcel2007>

    1. Re:I can see the OOXML tag now... by ameline · · Score: 5, Insightful

      That profoundly unfunny post (but insightful) will probably get modded as funny.

      Lets wait and see :-)

      --
      Ian Ameline
    2. Re:I can see the OOXML tag now... by Anonymous Coward · · Score: 5, Funny

      That profoundly uninsightful post (but funny) will probably get modded as insightful.

      Lets wait and see :-)

    3. Re:I can see the OOXML tag now... by fractoid · · Score: 3, Funny

      And your rather funny (but not insightful) post will get modded as... bah, nevermind. :P

      --
      Rampant carbon sequestration destroyed the Dinosaurs' tropical paradise. I'm here to help repair the damage.
    4. Re:I can see the OOXML tag now... by shutdown+-p+now · · Score: 1

      Of course you're wrong. Since Office 2007 is the reference implementation of OOXML, this behavior will be the default, and you'll have to use the element to disable it.

    5. Re:I can see the OOXML tag now... by cyborch · · Score: 1, Redundant

      Lots of good humour is actually insightful.

      But I agree that there is a tragic element to the point the GPP is making.

    6. Re:I can see the OOXML tag now... by l0b0 · · Score: 5, Funny

      That ... *Head explodes*

    7. Re:I can see the OOXML tag now... by Grail · · Score: 1

      It's moments like this that one wishes one had taken the blue pill. This rabbit hole is far too deep and twisting.

  29. Unnecessary abstraction by mikvo · · Score: 5, Funny

    Multiplication is an unnecessary abstraction anyway. This should really be represented by summing the value of 77.1 entered independently into 850 cells: =sum(a1:a850).

    1. Re:Unnecessary abstraction by Rick+Genter · · Score: 5, Funny

      I'd prefer to put 850 in 77.1 cells and do =sum(a1:a77.1)

      --
      Don't underestimate the power of The Source
    2. Re:Unnecessary abstraction by felipekk · · Score: 1

      Funny enough, I did it (in like 5 sec) and it gives me the correct answer: 65535.
      We already have enough info here for the folks at MS to find and fix the bug. We already know it is related to 32bit numbers in the multiply routine.

  30. Can't even imagine how to screw this up by Anonymous Coward · · Score: 0

    If I were given requirements as given by the author of the summary, I don't think I can figure out a way to screw it up so horribly, consistently, and intentionally. It boggles the mind how to implement this so incorrectly - treating 65536 as a hex (0x10000) and then a decimal (10,000) is off by a factor of 0x10, or 10 depending.

    At least the pentium errors were explicable - incorrect lookup tables sure. Randomly interpreting hex numbers as decimal, incorrectly? Wow....

    1. Re:Can't even imagine how to screw this up by MillionthMonkey · · Score: 1
      If I were given requirements as given by the author of the summary, I don't think I can figure out a way to screw it up so horribly, consistently, and intentionally. It boggles the mind how to implement this so incorrectly - treating 65536 as a hex (0x10000) and then a decimal (10,000) is off by a factor of 0x10, or 10 depending.

      Someone left an "0x" off of a 100 somewhere. I'm trying to imagine the most likely scenario.

      Maybe this is a clue:

      =5.1*12850
      =10.2*6425
      =20.4*3212.5
      =40.8*1606.25
      =77.1*850
      =154.2*425
      =212.5*308.4
      =308.4*212.5
      =425*154.2 ..etc

      What's even stranger is this: Suppose the formula is in A1.
      =A1+1 returns 100001, which appears to show the formula is in fact 100000
      and a very Serious problem.
      And if you multiply be say, 2 you get something else:

      =A1*2
      returns 131070, as if A1 had 65535. (which it should have been)

      =A1*1
      Keeps it at 100000.

      =A1-1 returns 65534

      =A1/1 is still 100000
      =A1/2 retuns 32767.5

      Using MAX() on a range appears not to see 100000.

      Very Serious!

      Makes it appear this is a rendering issue.

      What's even stranger is this: Suppose the formula is in A1.

      =A1+1 returns 100001, which appears to show the formula is in fact 100000 and a very Serious problem.
      And if you multiply be say, 2 you get something else:

        =A1*2
        returns 131070, as if A1 had 65535. (which it should have been) ..
        =A1-1 returns 65534 ...

      Almost makes it appear some calculations use the .Text property rather
      than the .Value property of A1. If so, definitely a bug.
  31. MS Math by javacowboy · · Score: 1

    So....now that Microsoft can't get ISO approval for OOXML, they've gone straight for an amendment to basic mathematics specs? :D

    --
    This space left intentionally blank.
  32. Is anyone testing OO.org spreadsheets? by xenocide2 · · Score: 1

    I doubt the same bug occurs, but does anyone evaluate how OO.org fares in math flaws? I suspect some people hold OO.org to a lower standard than one should otherwise expect.

    Granted, the above bug looks like a rounding error gone horribly, horribly, incredibly horribly wrong.

    --
    I Browse at +4 Flamebait

    Open Source Sysadmin

    1. Re:Is anyone testing OO.org spreadsheets? by AJWM · · Score: 1

      Well, you're right that OO calc has no problem with this calculation.

      As to how it fares otherwise, I haven't exhausted testing the problem domain yet. (Although examining the source would probably make more sense - not an option with Excel.)

      --
      -- Alastair
    2. Re:Is anyone testing OO.org spreadsheets? by mdsolar · · Score: 1

      OO seems to be able to do this calculation (=850*77.1) on FC6. =2*asin(1) gives pi to about ten places. Can't do =2*(1+1/1e15).

    3. Re:Is anyone testing OO.org spreadsheets? by 1u3hr · · Score: 1
      Well, you're right that OO calc has no problem with this calculation.

      So yet again, OO fails to be compatible with the market leader. This is why it will never gain traction.

    4. Re:Is anyone testing OO.org spreadsheets? by Anonymous Coward · · Score: 0

      but does anyone evaluate how OO.org fares in math flaws?

      I don't know how well OO.org fares at maths, it cunningly takes so long to open and calculate cells that no-one will ever find out whether it's any good. Pretty clever strategy really.

  33. Re:Microsoft Excel is the Worst Part of Office 200 by Anonymous Coward · · Score: 0, Troll

    Here's a tip. The same fuckers wrote the application and the kernel, and we hate them, and no one wants your snarky effort to show you took a high school intro to computers class.

  34. some limited testing by indaba · · Score: 5, Interesting
    original 850 77.1 100000
    425 154.2 100000
    212.5 308.4 100000
    8500 7.71 100000
    but this evaluates correctly..

    25 2621.4 65535

    so it's not every multiplication that evaluates to 65535

    I'm using Excel 2007 12.0.6024.5000

    1. Re:some limited testing by ocelotbob · · Score: 1

      I don't have a copy of excel in front of me, but what happens when you try (8500 * 1.000) * 7.71?

      --

      Marxism is the opiate of dumbasses

    2. Re:some limited testing by indaba · · Score: 3, Informative

      =(8500 * 1) * 7.71
      that evaluates to 65535

      but :
      =850*(771/10) evaluates to 100000

    3. Re:some limited testing by Anonymous Coward · · Score: 0

      I think it was a plot on the part of Microsoft to get the /. community to debug an edge case. Their engineers are now laughing at our struggles.

    4. Re:some limited testing by Anonymous Coward · · Score: 0

      Ah... the beauty of floating point rounding...

    5. Re:some limited testing by kwikrick · · Score: 1


      Did anyone test 85*771? These numbers can be represented exactly using integers or floating point, so perhaps the bug will not occur then?

      On the other hand, 8500*77.1 on my machine gives 65534.999999999993, because 77.1 cannot be exactly represented using floating point.

      --
      assignment != equality != identity
    6. Re:some limited testing by FutureDomain · · Score: 1

      This is a very odd bug. The result (8500 * 1.000) * 7.71 produces the correct result. But after trying that formula, the original 8500 * 7.71 now produces the correct result too, even though trying it before produced 100000! 850 * 77.1 still produces 100000 even when written as (850 * 1.000) * 77.1.

      Someone at Microsoft must be getting a swift kick about now. I wonder what convoluted code could have made such a random bug. Maybe someone with a decompiler who somehow didn't accept to the EULA (or had their four-year old accept it) could tell us what's going on.

      --
      Hydraulic pizza oven!! Guided missile! Herring sandwich! Styrofoam! Jayne Mansfield! Aluminum siding! Borax!
    7. Re:some limited testing by Anonymous Coward · · Score: 0

      But it also affects 65536

      Try for instance

      =65536/65530*65530

      and the magical answer is 100001

    8. Re:some limited testing by Anonymous Coward · · Score: 0

      I tried this too. I verified the original bug, but cannot get any other calculation to do this. I am starting to suspect easter egg.

    9. Re:some limited testing by justthinkit · · Score: 1

      This was incredibly hard to figure out until I realized that *some* of the spaces in the above post were commas, while the other spaces weren't. Now that I've thanked my lucky stars I don't have to suffer this space = comma system on a daily basis, I'm off to patent my space differentiation algorithm...

      --
      I come here for the love
    10. Re:some limited testing by Anonymous Coward · · Score: 0

      On the other hand, 8500*77.1 on my machine gives 65534.999999999993, because 77.1 cannot be exactly represented using floating point. Surely that's a typo. 8500*77.1=665350, and floating point rounding should not affect the result by more than a factor of ten.
  35. Re:Microsoft Excel is the Worst Part of Office 200 by Torodung · · Score: 1

    Maybe someone figured out a way to use Excel 2003 as a platform for audio/video capture and it too was "fixed" to please the content industry? ;^)

    --
    Toro

  36. Re:obviously malicious by aichpvee · · Score: 1

    Never attribute to incompetence what can be adequately explained by malice.

    Can we move on now? It's completely possible to point out that microsoft is capable of extreme incompetence without repeating this nonsense.

    --
    The Farewell Tour II
  37. Re:Microsoft Excel is the Worst Part of Office 200 by AJWM · · Score: 2, Insightful

    If an application can cause a kernel fault, it's not only the application that is broken.

    There, fixed that for you.

    --
    -- Alastair
  38. Retro by starfishsystems · · Score: 3, Funny

    I always said that Microsoft would never successfully migrate from 16 to 32 bits...

    --
    Parity: What to do when the weekend comes.
  39. Re:obviously malicious by Belacgod · · Score: 5, Insightful

    Sufficiently advanced incompetence is indistinguishable from malice.

  40. OOXML by FunkyRider · · Score: 1

    That explains why OOXML can't be an ISO standard, it evaluates 65525 = 100000

    --
    just wonder why there are so many anonymous cowards in this world....
  41. Kinda Ironic by pembo13 · · Score: 2, Insightful

    I find this bug kinda ironic since one of the big pros attributed to Excel over OO Calc is that it is so useful for data manipulation. Yet, the number which results in the bug isn't ever a particularly big number - well within a practical use case.

    --
    "Thanks for all the money you paid to us. We've used it to buy off ISO among other things" -Microsoft
    1. Re:Kinda Ironic by innocent_white_lamb · · Score: 1

      It's a fairly small number, considering that a lot of financial calculations are done in cents. $655.25 isn't a particularly large amount of money to be working with.

      --
      If you're a zombie and you know it, bite your friend!
    2. Re:Kinda Ironic by hanshotfirst · · Score: 1

      I find this bug kinda ironic since one of the big pros attributed to Excel over OO Calc is that it is so useful for data manipulation.


      "data manipulation" ... interesting choice of words ...
      I've seen Excel used to fudge numbers far too often, especially when writing reports using Reporting tools (instead of raw odbc/xl/access/blech). I don't know how many time I've had to hack SQL or a Report to get the data reported from the real source to match the data in some analysts Excel spreadsheet. "We know the algorithm is wrong, but everyone's used to the numbers this way." Aaaaaa---
      --
      Why, oh why, didn't I take the Blue Pill?
  42. But the important question is.. by AJWM · · Score: 1

    Does the built-in flight simulator still work?

    (Yeah, I know, they took it out after Excel 97.)

    --
    -- Alastair
    1. Re:But the important question is.. by Tablizer · · Score: 5, Funny

      Does the built-in flight simulator still work?

      As long as you stay below 65535 feet.

    2. Re:But the important question is.. by Beat+The+Odds · · Score: 1

      Does the built-in flight simulator still work? As long as you stay below 65535 feet.

      Don't you mean 10000 feet?

      BTW, I'm really stunned that some people would suggest that this might be a CPU problem when it works fine in OO calc.

    3. Re:But the important question is.. by ijzer · · Score: 1

      Seems to be replaced by some sort of space flight simulator....

  43. Found only now? by The+MAZZTer · · Score: 0, Troll

    If this had been a bug with, say, some iPhone spreadsheet program, it would have been found and posted launch day.

    Why has it taken so long for someone to find this? Other than the plausible explanation that MS' push for people to upgrade isn't going so well...

  44. Microsoft confirms it by iminplaya · · Score: 1

    Math is hard.

    Let's go shopping

    --
    What?
  45. Re:Microsoft Excel is the Worst Part of Office 200 by QuantumG · · Score: 1

    Uhhh no.

    The application simply should not be able to cause a kernel fault.

    Period.

    I'm sure this happens at Microsoft. A bug gets reported that Excel 2007 is causing blue screens. The bug gets given to the Excel team, they look at the crash dump and find out that they are doing something that trips a bug in the kernel of Vista, and they change their code to work around the issue. Bug closed. Next time someone runs across the exact same issue, they do a workaround too. The bug in the kernel never gets fixed.

    --
    How we know is more important than what we know.
  46. Works fine for me! by superash · · Score: 0

    I think it is fixed in Office 2003 with the SP2 update.

  47. 64K integers... by Anonymous Coward · · Score: 0

    Should be enough for anybody.

  48. Re:obviously malicious by megaditto · · Score: 2, Insightful

    Not the point. The fix would probably be available within minutes if the source code were open. Plus, a more rigorous review would have been triggered to make sure there aren't more errors of the same type...

    With Microsoft, we will be waiting for days before they even notice it...

    As such, their product stands unusable, possibly for weeks. And there is nothing we can do about it, not even sue for lost profits or damages.

    I am pretty sure those that bought Office at an academic/company discount would also not be able to return it.

    --
    Obama likes poor people so much, he wants to make more of them.
  49. Re:obviously malicious by Anonymous Coward · · Score: 0

    Gnumeric 1.0.1

    Hurr hurr.

    But seriously, if you want to know your code is secure, you take the code and you audit it. If you want other people to tell you the code is secure, promise, cross their heart, hope to die, etc etc (but the EULA says you can't hold them to it) then by all means, take their word for it.

    If you audit the code and it takes you 12 months to do the most recent major version, it should only take you a few more months to audit the changes to that original code (you did take notes, right?), and a short while more to audit the changes during the audit of the patches... then you're all caught up, and you can audit patches as they come out.

    Who knows, if you get good at it, people will start taking your word for it.

  50. Imperiled by binary decimals? by Protoslo · · Score: 5, Interesting

    It sounds like they are doing small-number math in one representation (perhaps they use short fixed-width decimal representations) and then switching to another method (arbitrary length decimal numbers?) at the binary-inspired boundary 2^16...but somehow they got it mixed up with a different decimal boundary in the edge case.

    Clearly the error is weirdly subtle, if 5.1*12850 gives the bugged behavior, but 8.5*7710 works just fine. In fact, I verified that all permutations of a bugged combination =A*B of the form =A/2*B*2 are bugged. Further...all of the buggy decimal values have no perfect floating point binary representation. 77.1 has an infinite binary expansion using IEE 754, while 8.5 has an exact representation. It seems likely that they are only using their BCD format (or whatever) when binary floating (or fixed) point just won't cut it, but then their internal->decimal conversion code chokes on 2^16 for some reason, while the binary (whether it is floating or fixed point) conversion works just fine (possibly because it doesn't have a boundary at 2^16--maybe it has its own threshold bugs ;p).

    1. Re:Imperiled by binary decimals? by TheCouchPotatoFamine · · Score: 1

      as some say, thread over :) Thanks for pointing out that connection

      --
      CS majors know the time/space tradeoff, but they never get taught the 3rd, crucial, tradeoff of the set: comprehension!
    2. Re:Imperiled by binary decimals? by mypalmike · · Score: 1

      FYI: Someone in another post found that 25 * 2621.4 = 65535 gives the proper behavior, yet 2621.4 has no perfect floating point binary representation.

      --
      There are 0x40000000 types of people: those who understand 32-bit IEEE 754 floating point, and those who don't.
    3. Re:Imperiled by binary decimals? by nitroamos · · Score: 1

      This isn't the first time computer scientists have pointed out that Excel is wrong, or at the best, misleading.

    4. Re:Imperiled by binary decimals? by Carewolf · · Score: 1

      So in other words Excel is using some form of floating or fixed point BCD?

      Ouch.. I am not surprised bugs like this appears.

    5. Re:Imperiled by binary decimals? by Protoslo · · Score: 1

      I saw that (after posting); clearly the representation rules are more complex. It might still be a sine qua non for the bug, but there is admittedly no real evidence for that.

      It seems that every broken number so far is of the form (10.2*2^n) * (6425*2^-n), or of the form (154.2*2^n) * (425*2^-n).

      The only further interesting observation I have about that is that 6425=5^2*257 and 65535=3*5*17*257, which suggestively shares the factor 257. 19275=5^2*3*257, however, does not produce the effect (perhaps because 3.4*5=17?). We can't stray too far from this form while still having non-repeating operands. The other number is 425=5^2*17, which follows the same pattern, except with 17 instead of 257.

      I also checked 2^32-1=4294967295=3*5*17*257*65527 with 10.2, etc., but that worked.

      Interestingly, the following fail:

      =(5*5*257)*(3*17/5)
      =(5*5*17)*(3*257/5)
      =(5*5*17)*(3/5*257)
      =25*154.2*17
      =25*10.2*257
      =(17*154.2)*25
      =(771/5*17)*25
      =(3*257/5*17)*25
      =5*5*(257*3/5*17)
      =(257*(51/5))*25
      =(5*5*17)*(3*51.4)

      but these don't:

      =2621.4*25
      =(257*51/5)*25
      =(257/5*51)*25
      =(257*17*(3/5))*25
      =5*(13107/5)*5
      =(13107/5)*5*5
      =(5*5)*(3*17*51.4)

      These rules also apply between cells (e.g. let A2=A1*25, if A1=771/5*17, A2 will be 100000, if A1=2621.4, A2 will be 65535).

      It seems that as long as in the course of left-to-right evaluation disaster will strike only if 10.2*2^n (51/5*2^n) or 154.2*2^n (257/5*2^n) is an intermediate term, for integer values of n. I suppose we can also conclude that muti-cell expressions are evaluated as a single expression, instead of storing intermediate results. The only hypothesis I have is that there is some weird issue in the factorization-to-rational code for arbitrary precision arithmetic, where bad canceling causes some boundary condition. That doesn't do much to explain the strange invariance up to powers of 2, and the location of the boundary at 2^16-1, however. I suppose in a prime factorization, 2^n will be at the end of the list, and thus might not affect the deadly intermediate result in this case. This makes me wonder what happens if I hook the file up with the ODBC driver, but I don't care that much ;p.

      As someone else noted, the saved document contains this:

      <c r="A1"><f>6425*10.2</f><v>65534.999999999993</v></c>

      so there is apparently an entirely different code path with direct floating-point evaluation.

    6. Re:Imperiled by binary decimals? by Jesus_666 · · Score: 1

      This is starting to feel like an ALG... Uncovering tiny leads, applying science to the cryptic data one receives until one unlocks the next secret...

      Just wait! We're going to find* another couple oddball bugs in Office, then a secret server under the microsoft.com domain will be unlocked and at the end we'll find out that Office 2007 was just a big ALG showing us a pretend world with two competing ISO standards for the next office format and the product being marketed is ODF, which Microsoft will wholeheartedly embrace with the new Office Vista, "available in stores today". (But upgrades from 2007 to Vista will still cost you 200 bucks.)


      * Actually, they will most probably be "exposed" by "companies" created by Microsoft's PR agency.

      --
      USE HOT GRITS WITH STATUE OF NATALIE PORTMAN (NAKED AND PETRIFIED)
    7. Re:Imperiled by binary decimals? by Vintermann · · Score: 1

      > So in other words Excel is using some form of floating or fixed point BCD?

      It should. Your databases does, and your pocket calculator probably does as well.

      --
      xkcd is not in the sudoers file. This incident will be reported.
  51. Re:hmm by doombringerltx · · Score: 1

    They don't have excel 2007 for the mac

  52. Don't worry its a feature.... by Chineseyes · · Score: 1

    This is just the new proprietary numeric system. While the rest of the use use base2, 8, 16, or 10 Microsoft operate on baseMS. The 100,000 baseMS (65,535 base10) page white paper is forthcoming.

    --
    I think the invisible hand of the market has its middle finger extended

    --A wise old fart named SC0RN
  53. Bignum strikes again! by overshoot · · Score: 1
    Boy, that one's familiar. Microsoft recently (see the DIS-29500 spec) reinvented "BigNum," the extended-precision integer format that I first ran into in USCD Pascal back in the 70s.

    It looks like someone managed an off-by-one error in it, with this as the result. Well, it's not like anyone uses Excel where errors could have serious consequences, right?

    --
    Lacking <sarcasm> tags, /. substitutes moderation as "Troll."
  54. Re:obviously malicious by Gygash · · Score: 2, Funny

    Corollary: Any incompetence distinguishable from malice is not sufficiently advanced.

  55. Only Minnesotan Engineers use Excel by Anonymous Coward · · Score: 1, Funny

    Civil Engineers only use Excel in Minnesota.

  56. What happened to the beta tests?! by WoTG · · Score: 4, Insightful

    Crazy stuff. I could have sworn that MS had some resources allocated to doing huge beta tests.

    For that matter, they probably assign people to create scripts to randomly create calculations and test the results. However, after reading a bit of the Usenet thread, automated scripts might not have caught the problem, it seems that it is at the rendering layer - using VB to get the cell value apparently gets the correct value.

    Weird. And highly embarrassing.

    I can't wait for the advertisements from OpenOffice (and it's new allies in IBM and Google) to play this up! Apple will have a field day too -- "Hi, I'm a Mac. Sure I'm good at video and music and all that fun stuff, but I can also do math. I know that 65,535 doesn't equal 100,000." -- OK, maybe that wouldn't be TV worthy, but I'll make a good web ad for Slashdot et. al.

    1. Re:What happened to the beta tests?! by slashqwerty · · Score: 1
      it seems that it is at the rendering layer - using VB to get the cell value apparently gets the correct value.

      The summary suggests the results carry over to other calculations in unusual ways. One would expect VB to detect the differences in those places.

    2. Re:What happened to the beta tests?! by SurturZ · · Score: 1

      Yes, how dare they not test every possible multiplication before release ;-)

    3. Re:What happened to the beta tests?! by C3ntaur · · Score: 1

      Crazy stuff. I could have sworn that MS had some resources allocated to doing huge beta tests.
      They do. They're called Customers.
      --
      Loading...
    4. Re:What happened to the beta tests?! by reclusivemonkey · · Score: 1

      Crazy stuff. I could have sworn that MS had some resources allocated to doing huge beta tests.
      I think you'll find they are more commonly referred to as "office workers".
    5. Re:What happened to the beta tests?! by Nevyn · · Score: 1

      65,535 isn't exactly a random number. So, yeh, it's pretty embarassing.

      --
      ustr: Managed string API with ave. 44% overhead over strdup(), for 0-20B
    6. Re:What happened to the beta tests?! by rastoboy29 · · Score: 1

      dude, these are the guys who can't build an OS for $6 billion.

      I could build a fucking moon rocket with six billion, and sell rides on it to boot.

      What could John Carmack do with that?  We'd be terraforming Mars by now.

  57. This is why OOo Calc can never replace Excel by swillden · · Score: 5, Funny

    This is yet another example of where Calc fails utterly to be compatible with Excel. How can I use Calc if I can't be sure that it will produce the same answers that my boss gets with Excel?

    All those open source developers just don't get it. Geeks that they are, they prize accuracy over consistency and uniformity. The clueless dweebs need to get out of their parents' basements and get a clue about how the REAL WORLD works. Nobody gets promoted for contradicting their boss, duh.

    Nope, until Calc can faithfully reproduce every Excel calculation, it simply won't be ready for use in the real world.

    --
    Note to ACs: I usually delete AC replies without reading them. If you want to talk to me, log in.
    1. Re:This is why OOo Calc can never replace Excel by Anonymous Coward · · Score: 0

      You'd be surprised at how far that argument gets you in OOXML. Slashdot user Hal Porter considers that all Office Suite bugs should be maintained in OOXML and propagated in ODF. This is the same user who, posting as hAl, rules over the wikipedia OOXML entry.

    2. Re:This is why OOo Calc can never replace Excel by WK2 · · Score: 1

      +1 frightfully true.

      --
      Write your own Choose Your Own Adventure. http://www.freegameengines.org/gamebook-engine/
    3. Re:This is why OOo Calc can never replace Excel by Bill,+Shooter+of+Bul · · Score: 1

      Thats why I had to learn advanced excel. The owner of the company, an ex engineer wanted me to check his complex calcuations in excel. It would have been much easier to just do it in mathemeatica or tk solver, but I had to prove him wrong using tools he understood. Luckely, he only ever used the Mac versions of Office, which is probably not affected. But I don't work for that company anymore in anycase

      --
      Well.. maybe. Or Maybe not. But Definitely not sort of.
    4. Re:This is why OOo Calc can never replace Excel by GotenXiao · · Score: 1

      Oh, okay. Consistency and uniformity.

      This is why Access 2003 has no "select all" in the SQL view of a query input. I suppose this is why there are dozens of Microsoft applications that throw the standard widget sets out the window and implement their own. This is why drag and drop works in some applications, but not others. And why the ODBC management panel uses a Windows 3.11 era file dialog box. And why some applications use a Win95 era file dialog box.

      Yes, Windows is indeed the bastion of consistency and uniformity.

      --
      Goten Xiao
    5. Re:This is why OOo Calc can never replace Excel by warrigal · · Score: 1

      Yes, I can see it now... Apple: Numbers is bug-for-bug compatible with Excel. Just like OS/2 was with Windows.

    6. Re:This is why OOo Calc can never replace Excel by Hatta · · Score: 1

      Man you ain't kidding. I hate Excel autoformatting. So I checked out OO.o in the hopes that it would be clever enough not to turn numbers of the form 1111-11-11 into dates. No such luck. And what's more, there's no way to turn it off! Sure I can preselect the cells I'm going to enter CAS numbers into and force them to autoformat as text. But why should I have to do that? Can't I just enter text and have it left alone? Why do spreadsheets always assume they are smarter than me?

      Autoformatting is evil. And OO.o sucks for not having an option to turn it off permanently.

      --
      Give me Classic Slashdot or give me death!
    7. Re:This is why OOo Calc can never replace Excel by Anonymous Coward · · Score: 0

      > Nobody gets promoted for contradicting their boss, duh.
      > Nope, until Calc can faithfully reproduce every Excel calculation,
      > it simply won't be ready for use in the real world.

      Parent was modded funny, but it's also horrifyingly insightful.

      A couple of decades ago I worked on a project to port some toxicology databases / report generators from one platform to another. These held the raw data used to decide whether some material is toxic, at least for rats.

      The new version of the report generation system detected a large number of data-entry errors (100-year-old rats, for instance, or rats supposedly fed several tons of toxic material each day).

      But the contract required the new system to work *exactly* like the old, so the customer insisted that we write code to hide these problems just as the old system did.

      Preemptive strike: I for one welcome our enormous, hungry long-lived rat masters.

  58. Uhhh by Anonymous Coward · · Score: 0

    65,534 should be enough for anybody

  59. Special powers by overshoot · · Score: 3, Insightful

    Here's a tip. If an application can cause a kernel fault, it's not the application that is broken.
    How many other apps do you know that replace half of the system libraries?

    MSOffice doesn't run on the operating system, it runs the operating system.

    --
    Lacking <sarcasm> tags, /. substitutes moderation as "Troll."
    1. Re:Special powers by OverflowingBitBucket · · Score: 3, Interesting

      How many other apps do you know that replace half of the system libraries?

      Try an install of the Visual Studio .NET family. Can't remember if it messes with system files but it messes around with Office files, even if Office isn't around. You then need to use Office patches to update them. It's insane.

    2. Re:Special powers by networkBoy · · Score: 1

      I can't quite put my finger on it right now, but something is horribly wrong with that picture...

      --
      whois gawk date unzip strip find touch finger mount join nice man top fsck grep eject more yes exit umount sleep dump
    3. Re:Special powers by Lehk228 · · Score: 1

      I KNEW microsoft used stolen EMACS code in something!

      --
      Snowden and Manning are heroes.
    4. Re:Special powers by Anonymous Coward · · Score: 0

      OpenOffice? (Takes longer to compile than a complete operating system, has it's own windowing system in there somewhere, used to have its own desktop...)

    5. Re:Special powers by argent · · Score: 1

      How many other apps do you know that replace half of the system libraries?

      Internet Explorer.
      Windows Media Player.
      Microsoft Office.

      What do all these things have in common?

      Besides being from Microsoft?

    6. Re:Special powers by seebs · · Score: 1

      > How many other apps do you know that replace half of the system libraries?

      If that can cause a bluescreen, the kernel is broken. If the kernel lets an app do something that can cause a bluescreen... the kernel is broken.

      --
      My blog: http://www.seebs.net/log/ --- My iPhone/iPad app: http://www.seebs.net/seebsfrac/
  60. Quality by FranTaylor · · Score: 1

    This is an example of that new Quality stuff that Microsoft just invented. This new Quality thing is sooo cooool that it removes the need for any kind of regression testing. We can look forward to more Quality in the future from Microsoft as they decide to not bother testing more and more of their products.

    1. Re:Quality by Creepy · · Score: 1

      Humorous in that Microsoft employs an industry leading ratio of programmer to QA (1:1 or 2:1, I forget). Most of that testing probably isn't hitting numbers in the excel spreadsheet, however, and to be forgiving, I'm sure min/max testing was on much larger and smaller numbers. Still, I'm amazed it wasn't found sooner.

  61. Pay Day! by johkir · · Score: 3, Funny

    Now how can I work this into my salary.......

    --
    These are some of the things molecules do...... given 4 billion years -Carl Sagan
    1. Re:Pay Day! by Anonymous Coward · · Score: 0

      >>Now how can I work this into my salary.......

      Asked for 1 big paycheck for the year in the amount of 65535.00 and one small paycheck or bonus so that your w2 reflects the correct amount.

  62. Last time I checked by localman · · Score: 1

    Excel still had a 65K row limit, which was very annoying. Whenever we generated detail reports for Excel users we had to break things up into sub-files which often introduced all sorts of errors as people manually combined the results from separate sheets. I never understood why they would have such a limit in place. Using a 16 bit number for most anything in modern apps seems a bit foolish.

    I sort of get the idea that if you need more than 65K rows then you should move up to something else besides Excel, but still. It just seemed that the business users always asked for reports that were larger than Excel could handle, then they'd have trouble with them.

    Cheers.

    1. Re:Last time I checked by simonsen77 · · Score: 1

      Excel 2007 increases the rows beyond 65K. That alone almost justified my purchase of a copy.

    2. Re:Last time I checked by Phorion · · Score: 1

      Excel still had a 65K row limit The row limit in Excel 2007 is now 1,048,576 instead of 65,536. Column limit is now 16,384 instead of 256.

      In other words, you're 1,024 times more likely to hit this bug.
    3. Re:Last time I checked by TheLink · · Score: 1

      Maybe someone did a search and replace of the "65535" limit and fubared. ;)

      --
    4. Re:Last time I checked by Brickwall · · Score: 1
      I never understood why they would have such a limit in place.

      They asked Bill, and he said "Why would anyone ever need more than 65k rows?".

      --
      What was once true, is no longer so
  63. Re:hmm by Mike89 · · Score: 1

    They don't have excel 2007 for the mac
    Correct, he's trolling.
  64. I think Microsoft released details of this bug... by thewils · · Score: 1

    To get everyone to upgrade to Excel 2008. Out soon!!!! Lots of new, er, features...cheap!!!

    --
    Once I was a four stone apology. Now I am two separate gorillas.
  65. OO.org spreadsheets work much better by AJWM · · Score: 1
    Interesting, I found the following in TFA:

    > I also see that Excel 2007 still has this over 10+ year bug still in it:

    > =40000.223
    > =41000.348
    > =52000.723

    > Such numbers are converted to:

    > =40000.2229999999
    > =41000.3479999999
    > =52000.7229999999

    That isn't a bug, but well-known floating point representation
    inaccuracy. FPUs don't work in decimal.

    [snip]

    > That isn't a bug, but well-known floating point representation

    Hi. I believe Microsoft still considers it a "Problem." (ie Bug)
    It affects numbers between 2^15 - 2^16 (32768 - 65536) that end with:

    {.098, .223, .348, .473, .598, .723, .848, .973}

    (Note: the endings are offset by 1/8)


    I just checked and, of course, OOo spreadsheet (oocalc) has no problems with the above numbers, they show correctly (eg 40000.2230000000). Excel must have some really funky internal representations and algorithms, I'm surprised they didn't include a <CalculateLikeExcel> tag in MS-OOXML.
    --
    -- Alastair
    1. Re:OO.org spreadsheets work much better by ceoyoyo · · Score: 1

      Well, if you consider binary a funky internal representation....

      OOCalc may display those numbers properly, but it's using them internally in the form Excel is showing them (unless somebody wrote OOCalc entirely in binary coded decimal). MS probably considers it a bug because it's ugly. The number you typed in and the number Excel reported are the same within the data type precision.

      Try Asking OOCalc to multiply your numbers by 1.0 and see what it says.

    2. Re:OO.org spreadsheets work much better by AJWM · · Score: 1

      Try Asking OOCalc to multiply your numbers by 1.0 and see what it says,

      Displays the same (ie, as 40000.2230000000). Why, were you expecting something different?

      --
      -- Alastair
    3. Re:OO.org spreadsheets work much better by ceoyoyo · · Score: 1

      It must have a special case coded in to suppress display of the actual number then.

      You can't represent many base ten real numbers precisely in binary. 40000.223 is one of them.

    4. Re:OO.org spreadsheets work much better by Vintermann · · Score: 1

      Binary coded decimal would be quite appropriate for a spreadsheet. Other than speed and space issues, BCD has only advantages - just ask an accountant.

      --
      xkcd is not in the sudoers file. This incident will be reported.
  66. Re:Microsoft Excel is the Worst Part of Office 200 by Xtravar · · Score: 1

    While this is true, I'd bet that the reason Excel is having problems is because it's doing all that weird stuff (like what's with that UI?) and possibly using newer/undocumented API calls.

    It's inexcusable, but understandable, since the Office apps are most likely first-adopters of new API calls.

    --
    Buckle your ROFL belt, we're in for some LOLs.
  67. Excel is by Yurka · · Score: 1

    a 16-bit application at heart. All the development done since Version 4 is more or less window-dressing (or fabulous new features).

    It also cannot display more than 2**16-1 lines in a table; that seems to be regarded as a feature, not a bug.

    --
    I can assure you, the best way to get rid of dragons is to have one of your own.
  68. I don't get it. by FoolsGold · · Score: 1

    Excel has a bug, just like every other tool. Some people report not being able to replicated the bug in their version of 2007, it doesn't matter. Assuming there's a true bug somewhere, it will be fixed - life goes on as usual. What's the story exactly?

  69. Oops by smileytshirt · · Score: 1

    In other news, the IPCC has issued a statement saying that its original estimates for global warming were miscalculated and were "approximately double" the corrected estimates due to a "technical issue".

    --
    www.shortman.com.au - top shorted stocks on the ASX
  70. It's all clear now... by feepness · · Score: 1

    So this is how they calculated sales for Vista!

  71. And my copy of Excel2003? by Xenographic · · Score: 0, Offtopic

    Weird. I can't get it to appear in my work copy of Excel 2003. Nor can I get it to appear in any of the apps on any of my systems.

    Maybe some patch caused/fixed it? Or else it could be another CPU bug.

    1. Re:And my copy of Excel2003? by Anonymous Coward · · Score: 0
      Weird. I can't get it to appear in my work copy of Excel 2003.

      So you're testing it in a different program and it doesn't happen? That is weird! What happens in Notepad? Same thing?

    2. Re:And my copy of Excel2003? by whereiswaldo · · Score: 1

      My first guess is it's the result of some optimization that went wrong. In any case, it's got to be pretty darn embarrassing for a spreadsheet application.

    3. Re:And my copy of Excel2003? by Anonymous Coward · · Score: 0

      You're an idiot.

  72. Stupid Ribbon by tomz16 · · Score: 1

    Give them a break... they were too busy programming that stupid ribbon, and shuffling all of the options around to confound advanced users.

    -Tom

  73. Re:Microsoft Excel is the Worst Part of Office 200 by j01123 · · Score: 2, Funny

    I can blue screen my machines with Excel on a regular basis That's what you get for entering expressions that evaluate to 65,536.
  74. microsoft excel for gamers by bvheide · · Score: 1

    Is it just me or does it seem like there's probably a hidden cheat code somehow related to this. You know, like, plug in the mystery number and Windows stops freezing up on you?

  75. Excel 2004 & NeoOffice on Mac by urlgrey · · Score: 1

    FWIW all, I just tried this on my G5 with both Excel 2004 and NeoOffice and both calculated correctly.

    Mayhaps the MacIntrash (as some are fond of calling it) ain't so bad after all! :-)

    Then again, it *did* spawn a copy of Word with Clippy bouncing around the screen "like a Jack Russel Terrier" asking if I wanted it to throw a chair across the room on my behalf. I'm not so sure this was intended, especially from such a simple formula, regardless of any so-called calculation bugs.

    Besides which, I wonder where Clippy would even get such an inclination.

    --
    Running 'Nix is like owning a Lightsaber. It's "a more elegant weapon for a more civilized time."
  76. New tag - OOPSXML by Anonymous Coward · · Score: 1, Funny

    I think we should all tag this story OOPSXML. :^)

  77. Re:Yes, 2007 was dumped on Universities. by Anonymous Coward · · Score: 0

    Are you a student or teach/work at LSU? That's not my take on how the ITPC works.

  78. Not the only devastating bug by Casandro · · Score: 4, Interesting

    In the german version there is a bug for almoust a decade now.

    If you type in 3.5 you will get "3. Mai". Now if you try to correct yourself by entering 3,5, the correct way to enter decimals in german, you will get "3. Januar". There just is no way for the unexperienced user to get back to normal.
    The bug essentially is that the system allows dates without a year.

    1. Re:Not the only devastating bug by cnettel · · Score: 1
      How is that a bug? I often see dates without years mentioned in text. It's convenient to get auto-conversion. Even a user not aware of formatting at all should be able to Undo back to normal.

      I agree that the heuristics suitable to English or Swedish date formats might cause trouble in German, but it's not really a bug. I would say it's generally a good thing that some auto-detection is going on, or you would have to specify by hand which cells are numbers, and which are text, even when it's bloody obvious to you as well as the program. Likewise, it probably should see that SOME dates are real dates. (And if you enter "April" alone in a cell, you might also want to do some computations that work on the date as a date.)

    2. Re:Not the only devastating bug by Anonymous Coward · · Score: 0

      It is not the German version. You may get 3.Mai from 3.5 because you have . (dot) as date separator in regional settings. Then the cell gets a d.mmm format, 3,5 as date is "03.01.1900 12:00:00" and shows as 3.Jan. Hummm... use slash, not dot :)

    3. Re:Not the only devastating bug by gnasher719 · · Score: 1

      How is that a bug? I often see dates without years mentioned in text. It's convenient to get auto-conversion. Even a user not aware of formatting at all should be able to Undo back to normal.

      I agree that the heuristics suitable to English or Swedish date formats might cause trouble in German, but it's not really a bug. I would say it's generally a good thing that some auto-detection is going on, or you would have to specify by hand which cells are numbers, and which are text, even when it's bloody obvious to you as well as the program.
      It works as designed. Unfortunately, the design is crap. Therefore, it is a bug.
      But maybe that is the difference between a Macintosh user and a Windows user. Any Macintosh user will say "this is a bug". Many Windows users will say "I guess I'm too stupid to use computers".
    4. Re:Not the only devastating bug by Casandro · · Score: 1

      I have to partially disagree. Not only the Macintosh user says "this is a bug", but just about anybody else other than Windows fans. Windows users are just to used to bugs.

    5. Re:Not the only devastating bug by jimicus · · Score: 1

      That's just Excel trying to be too clever by autoformatting.

      The best bit is that not only does Excel apply autoformatting on opening a file, IIRC it attempts to apply the locale of the PC it's running on to the formatting logic it uses. So you email a spreadsheet from your UK office (and in the UK, [num].[num].[num] doesn't usually represent a date) to your Germany office, your German staff complain that something looks wrong and your UK staff can't see what they're talking about.

    6. Re:Not the only devastating bug by aug24 · · Score: 1

      It's not just Germans. Excel sees a date, and attempts to convert it. If it can't do it in US format, it tries in UK (or some variant, locale depending). Might be the other way round.

      This has been making my data cleansing a pita for some months now - and no, format as text isn't sufficient to stop it (don't know why, but it's a low priority bug as I have a workaround).

      Justin.

      --
      You're only jealous cos the little penguins are talking to me.
    7. Re:Not the only devastating bug by Red+Flayer · · Score: 1

      There just is no way for the unexperienced user to get back to normal.
      Format -> Cells -> General
      -or-
      Copy adjacent cell -> click in target cell -> paste special -> formats.

      Since the issue is an autoformatting one, it's very easy to correct. If inexperienced users where you are are unable to change the format of a cell, then they should be taken off Excel and put into the steno pool.
      --
      "Trolls they were, but filled with the evil will of their master: a fell race..." -- J.R.R. Tolkien on Olog-hai
    8. Re:Not the only devastating bug by dook43 · · Score: 1

      The IsDate() function in VB.Net 2.0 was changed to allow dates without days as well as using a period as a date separator. What does this mean? That common currency values now can be parsed as dates. Brilliant design.

      --
      This comment was randomly generated by a school of piranhas chewing on the PCB of a Microsoft Natural Keyboard.
    9. Re:Not the only devastating bug by Anonymous Coward · · Score: 0

      Can't you simply enter any representation of that number that doesn't resolve to a date, such as 3,500 (or, for us Americans, 3.500)?

    10. Re:Not the only devastating bug by Anonymous Coward · · Score: 0

      Prepend an apostrophe.

    11. Re:Not the only devastating bug by Jesus_666 · · Score: 1

      OpenOffice Writer does junk like that as well. I often use cell values like "6/8", meaning "6 of 8". OpenOffice, being helpful, replaces the value with "08.06.1997" (the year might be off, I haven't encountered this in a while). Note that the format of the generated date implies a non-US locale (and indeed the locale is de-DE), which makes the translation of "X/Y"-type strings (which are often used for fractions) into dates much more of a hindrance than a feature. The only way to use such strings is by going through the AutoCorrect settings, which might or might not be available, depending on whether I'm in a table or not.

      They made the AutoCorrect settings more sane with OOo2, but I'm still not quite comfortable using this kind of string around OOo.

      --
      USE HOT GRITS WITH STATUE OF NATALIE PORTMAN (NAKED AND PETRIFIED)
  79. Re:obviously malicious by Anonymous Coward · · Score: 0

    With open source, the fix will be available within minutes, but then everyone would have to go and recompile the product, or in the least download a new build and install it. So the time lost to the business is still there, even if they were using open source software. Oh, and they can't sue anyone if they were using open source either.

  80. The point is: by thatskinnyguy · · Score: 1

    Dear Slashdotters,

    Our recent feature in Excel is not an annoyance; but the first page in a new chapter in humanity. We have had the best minds from MENSA working on this concept for years. We don't need to rethink Excel as much as we need to rethink numbers.

    This forward thinking will usher-in a new dawn for the human race. Numbers between 100,000 and 65,535 are relegated to superfluity. Join us in making this new number system a success!

    Your Friend in Redmond,
    William Gates III

    --
    The game.
  81. Why a change in calculation engines. by tjstork · · Score: 1

    now why would that be? oh right, we can't have backwards compatibility, that would allow competition. [just kidding] but really, what was the reason for changing the way excel evaluates a function? what did that change actually improve?

    MS significantly jacked up the number of rows and columns in Excel, and they might have gone from a sparse matrix to a tree as an internal storage. That would entail a change in how the interpreter works.

    --
    This is my sig.
  82. Re:obviously malicious by Anonymous Coward · · Score: 0

    So, you are saying that Microsoft programs are really no different from Open Source, except that they don't give you the source and (currently) cost you an arm and a leg?

  83. Re:Microsoft Excel is the Worst Part of Office 200 by AJWM · · Score: 2, Insightful

    Agreed. But just because a buggy kernel lets an app cause a kernel fault doesn't mean that the app itself is not buggy also. The kernel bug needs to be fixed first, but that's no guarantee that the app will then behave properly.

    --
    -- Alastair
  84. No problem on Mac Excel 2007 by gyepi · · Score: 1

    I've just tried and Mac Excel 2007 (v 11.3.3, build 061213) calculates the values correctly. One more bonus for OS X! ;)

    --
    Attitudes make the difference between Space and Time: we want to MAX our temporal, and MIN our spatial extension.
  85. Who needs to count over 640, anyway? by theurge14 · · Score: 1

    Who needs to count over 640, anyway?

    If anyone really does, there's always the HIMEM.SYS and EMM386.EXE plugins.

  86. The renewal form, hmmm? by NotQuiteReal · · Score: 5, Funny

    And you didn't balk at the 34% increase in rent?

    --
    This issue is a bit more complicated than you think.
    1. Re:The renewal form, hmmm? by moosesocks · · Score: 2, Funny

      If he's already paying $65,000 a month on rent, I think he just needs to find a new place altogether.

      --
      -- If you try to fail and succeed, which have you done? - Uli's moose
    2. Re:The renewal form, hmmm? by Anonymous Coward · · Score: 0

      65,000 a month won't even pay the property taxes on some houses, so it could be a good deal!

    3. Re:The renewal form, hmmm? by Rinisari · · Score: 1

      Better hope your Excel-user landlord doesn't see a need to increase your rent by $535.

    4. Re:The renewal form, hmmm? by Anonymous Coward · · Score: 0

      Did you use Excel 2007 for that calculation? That's a 52.6% increase.

  87. Re:obviously malicious by Anonymous Coward · · Score: 0
    As such, their product stands unusable, possibly for weeks. And there is nothing we can do about it, not even sue for lost profits or damages.


    Not true at all. You could be entitled to compensation of damages up to five (5) US dollars under EULA's limited liability clause. No, I'm not joking. Go read Microsoft EULAs (if you're a maschocist like me.

  88. The Number That Must Not Be Named by SuperKendall · · Score: 2, Insightful

    You wanted to see 65,535 and other popular numbers in spreadsheet results? You need Excel Penultimate Edition for that sir!

    --
    "There is more worth loving than we have strength to love." - Brian Jay Stanley
  89. Wow... by maz2331 · · Score: 1

    Guess I'm the only one left who uses CAD to make network drawings nowadays?

    1. Re:Wow... by cyphercell · · Score: 5, Insightful

      CAD derivatives are quicker, less precise, like a blaster vs a light saber, only few use light sabers, many use blasters.

      --
      Under the influence of Post-Cyberpunk Gonzo Journalism
    2. Re:Wow... by Kreigaffe · · Score: 5, Funny

      a spot-on analogy involving jedis? you sir win two internets.

      --
      ... still waiting for this free-as-in-beer free beer I keep hearing about. :|
    3. Re:Wow... by cyphercell · · Score: 1
      cool, so how many internets fit in a tube, and where do I get a tube?

      I'm building a nerd saber I need one tube of internets to channel the online side of the force.

      --
      Under the influence of Post-Cyberpunk Gonzo Journalism
    4. Re:Wow... by dnoyeb · · Score: 1

      Did you mis-speak? CAD programs and slower and much more precise. I used to use them for wiring diagrams, but Visio was much quicker. Especially in copy, paste type of replication operations. And the accuracy of CAD is far to high for something that is not really representative of anything to be built.

    5. Re:Wow... by number6x · · Score: 1

      No, the internet is built out of tubes, so the tubes are smaller units than the internets are.

      If you have two internets, you have gazillions of tubes.

    6. Re:Wow... by Anonymous Coward · · Score: 0

      > CAD derivatives are quicker, less precise, like a blaster vs a light saber, only few use light sabers, many use blasters.

      See, Visio == CAD derivatives. To really spell it out for you:

      CAD derivatives, such as Visio, are quicker and less precise than CAD programs.

      So no, his analogy works perfectly.

      Cheers,

      Anonymous Coward

    7. Re:Wow... by scumdamn · · Score: 1
      Actually, 1 internet=1 series of tooooobs. He/she now has precisely 2 series of tooooobs.

      Oh, and 1 internet != a truck, fyi.

  90. Oblig. by ZJVavrek · · Score: 1, Interesting

    The number 65,536 is an awkward figure to everyone except a hacker, who recognizes it more readily than his own mother's date of birth: It happens to be a power of 2^16 power to be exact -- and even the exponent 16 is equal to 2, and 4 is equal to 22. Along with 256; 32,768; and 2,147,483,648; 65,536 is one of the foundation stones of the hacker universe, in which 2 is the only really important number because that's how many digits a computer can recognize. One of those digits is 0, and the other is 1. Any number that can be created by fetishistically multiplying 2s by each other, and subtracting the occasional 1, will be instantly recognizable to a hacker.

    1. Re:Oblig. by Anonymous Coward · · Score: 0

      All of that would be pretty informative in most places, but here on Slashdot, it's Nursery School.

    2. Re:Oblig. by Stealth+Potato · · Score: 4, Funny

      The number 65,536 is an awkward figure to everyone except a hacker, who recognizes it more readily than his own mother's date of birth
      Oh god. I never even realized until this very moment that this was true. I feel like a horrible person. ;_;
    3. Re:Oblig. by jibjibjib · · Score: 2, Informative

      Actually it's quoted from Snow Crash.

    4. Re:Oblig. by Aladrin · · Score: 1

      You sir, get my first major laugh of the day. Especially since I was thinking the very same thing.

      --
      "If you make people think they're thinking, they'll love you; But if you really make them think, they'll hate you." - DM
  91. Change of base by aaron+alderman · · Score: 2, Funny

    Maybe they convert to base 9.18956?

  92. Re:Works for me by TheCoelacanth · · Score: 1

    The problem is that you didn't even read the title. It's Excel 2007.

  93. Sig by Anonymous Coward · · Score: 0

    When you understand why you dismiss all the other possible gods, you will understand why I dismiss yours.

    Because your god threatened you with an eternity of torture?

    1. Re:Sig by Anonymous Coward · · Score: 0
      I'm a masochist, you insensitive clod!


      Mmmmm, torture...

  94. Oblig by BlueParrot · · Score: 1

    65,534 ought to be enough for everybody.

  95. Re:obviously malicious by Brickwall · · Score: 1

    Somewhere, Arthur C. Clarke is angry at both of you.

    --
    What was once true, is no longer so
  96. Re:obviously malicious by Anonymous Coward · · Score: 0

    You're a lying sack of shit, the EULA says you can recover up to the cost of the software, and no more.

  97. Excel has had problems before by or-switch · · Score: 1

    As an undergrad the version of Excel that was common at that time (ca. 1996) had a serious flaw in the linear regression. The line fit to data was good, but the formula it output has nothing to do with the line it drew. The intercepts were wrong, slope was wrong, it was like it spit out random numbers. I almost failed p-chem lab because the final calculations relied on the fit to the data and those were wrong. Redid them in an ancient version of kaleidagraph on an ancient mac (then) and got the right numbers and the grade changed. Don't trust Excel!

  98. Not all formulas resulting in 65535 display wrong by JeffBean · · Score: 2, Informative

    A few observations:

    1) If you go into the Visual Basic editor and print the "Value" property of the cell containing the formula =850*771 you get 65535, as you should. The "Text" property however is "100000". So it seems the problem is not in the internal computation, but in the conversion to the displayed value.

    2) That said, I am not sure why, if you then enter =A1+1 into another cell you get 100001 instead of 65536. It seems the formula is picking up the displayed value, not the internal value when you perform addition, but not when you do multiplication.

    3) There is something special about the value 77.1. Other variations on the calculation produce the correct result.
    85 * 771 = 65535
    850 * 77.1 = 100000
    8500 * 7.71 = 65535

    I wrote a short C program so I could see what the actual floating point representations of these numbers were:

    #include
    #include

    int main (int argc, const char *argv[])
    {
            if (argc != 3)
            {
                  puts("You must enter two numbers");
            }
            else
            {
                  double v1 = atof(argv[1]);
                  double v2 = atof(argv[2]);
                  double result = v1 * v2;
                  printf("%f * %f = %f\n", v1, v2, result);
                  printf("%#016I64x * %#016I64x = %#016I64x\n", *(long long *)&v1, *(long long *)&v2, *(long long *)&result);
            }
            return 0;
    }

    This produced:
    850.000000 * 77.100000 = 65535.000000
    0x408a900000000000 * 0x4053466666666666 = 0x40efffdfffffffff

    Notice that the value 77.1 has a repeating fraction when represented in floating point. So does the result. In fact if you dig out your Intel manuals and decipher the hex representation of the result you find that it is the binary equivalent of 65534.99999999999999...

    It seems that the problem occurs in the conversion of that value to displayable text.

  99. I guess this explains Enron! by DragonTHC · · Score: 1

    It must have been a bug instead of white-collar scum!

    --
    They're using their grammar skills there.
  100. Step 2 Found! by OverflowingBitBucket · · Score: 5, Funny

    Well, I'm off to deposit $655.35 less my current balance into my bank account.

  101. Looks like a typo by jorghis · · Score: 4, Interesting

    Surprised noone has pointed this out yet, but this is likely a hardcoded constant being used when excel converts from a 16 bit number to a 32 bit. It should have been "0x10000" but instead was 100000. Speculation sure, but it looks pretty likely, I mean how else would 100000 randomly appear when you did that computation?

    Someone was slacking in the testing department.

    1. Re:Looks like a typo by Firehed · · Score: 4, Informative

      Wouldn't that apply to 65,536, rather than 65,535? 65,535 is 0xFFFF, not 0x10000.

      --
      How are sites slashdotted when nobody reads TFAs?
    2. Re:Looks like a typo by bytesex · · Score: 1

      How on earth are these guys ever going to move to 64 bit I don't know.. *shakes head*

      --
      Religion is what happens when nature strikes and groupthink goes wrong.
    3. Re:Looks like a typo by nschubach · · Score: 1

      They don't. It's Microsoft's intention to stay in the 32-bit era. Bill Gates proclaimed himself that 32-bits should be enough for anyone, and that he's mildly scared of the number 64.

      --
      Every time I start to have faith in humanity, I ruin it by driving to work between 7 and 8 am.
    4. Re:Looks like a typo by pelrun · · Score: 1

      I think you've discovered a whole new class of bug here - I'll be bold and suggest we name the new class of bug an "off-by-one" bug. If we go back through our old code who knows how many of these bugs we'll be able to detect now that we know they exist... ;)

    5. Re:Looks like a typo by Anonymous Coward · · Score: 0

      Or perhaps they are using two's compliment somehow?

    6. Re:Looks like a typo by idontgno · · Score: 1

      Well, actually, it's a radical new subset of your new set of "off-by-one" bugs. It's the "Off by one, convert to hexadecimal, and pad with an additional (and gratuitous)trailing zero" class of errors. I anticipate much study of this new taxonomy of as-yet-unexplored software bugs.

      --
      Welcome to the Panopticon. Used to be a prison, now it's your home.
  102. The risks of MVC by Anonymous Coward · · Score: 0

    If you play around with it for a couple minutes, this has got to be some kind of a display bug. Excel knows the number is correct, since just adding 0.001 gets it out of its funk. Maybe it's showing us binary of 65536? 100000 (plus 00000000000) would kind of make sense here...

  103. MS Licensing by EricX2 · · Score: 2, Funny

    I bet they put that feature in for selling Vista volume licenses. In bundles of 850 the price is $77.10 each which is $100,000.

  104. You must be new here. by hedwards · · Score: 1, Funny

    If it was funny then why wasn't it modded flamebait, with the GP being modded as insightful, you being modded funny, and myself being modded as being larger than a breadbox?

    1. Re:You must be new here. by Anonymous Coward · · Score: 0

      If what you said was only said once before, why were you modded as redundant twice?

      Oh, wait a minute...

  105. MS Multiplan on Commodore 64 by innocent_white_lamb · · Score: 4, Interesting

    Just for fun I cranked up Microsoft Multiplan 1.06 from 1983 for the Commmodore 64 (using the Vice emulator, and the magic calculation (850*77.1) gives the correct answer of 65535.
     
    I have always been under the impression that Excel was originally based on MS Multiplan (isn't it?) so the code was correct at that time and has become broken at some subsequent point.

    --
    If you're a zombie and you know it, bite your friend!
    1. Re:MS Multiplan on Commodore 64 by Nazlfrag · · Score: 1

      Well, that's narrowed it down to sometime between Wednesday morning and Thursday afternoon of the fifth week before lent, 1992.

    2. Re:MS Multiplan on Commodore 64 by innocent_white_lamb · · Score: 1

      That's within the past 65535 days, then?

      --
      If you're a zombie and you know it, bite your friend!
    3. Re:MS Multiplan on Commodore 64 by mosschops · · Score: 1

      Just for fun I cranked up Microsoft Multiplan 1.06 from 1983 for the Commmodore 64 (using the Vice emulator, and the magic calculation (850*77.1) gives the correct answer of 65535.

      Though not quite the same, PRINT -65535-1 on the Sinclair Spectrum gives -1E-38, due to a ROM bug!

    4. Re:MS Multiplan on Commodore 64 by Mantaar · · Score: 1

      Interestingly, Excel 2004 for Mac on my 64bit PPC works fine as well. So is it an error in code, or in the compiler?

      --
      I'm an infovore...
    5. Re:MS Multiplan on Commodore 64 by permaculture · · Score: 1

      F.Y.I.
      I just tried, and "=850*77.1" gives the correct answer of 65535 in MS Excel 2003, as well.

      --
      Environmentalism is the new Victorianism. Everyone ties on a green corset and pretends we're virtuous.
    6. Re:MS Multiplan on Commodore 64 by Anonymous Coward · · Score: 0

      Does the C64 version have the Multiplan bug the TI-99 has?

      The bug affects the SQRT function.
      "If a square root is taken of a number less than one AND contains an
      odd number of zeros before the first significant digit (i.e. 0.01,
      0.000123), Microsoft Multiplan will calculate the square root
      incorrectly by a factor of ten. Currently SQRT(0.01) is calculated as
      1.0 and SQRT(0.000123) is calculated as 0.110905."...

    7. Re:MS Multiplan on Commodore 64 by innocent_white_lamb · · Score: 1

      The bug doesn't appear on the C64 version.
       
      =sqrt(0.01) gives 0.1
      =sqrt(0.000123) gives 0.0110905 (and several more decimal places)
       
      So it appears to be correct.

      --
      If you're a zombie and you know it, bite your friend!
  106. Updated mine last week by Cafe+Alpha · · Score: 1

    And it's got the bug. Running on XP.

  107. Open office .. . . by dreez · · Score: 1

    So, what's the plan here, is Open office calc going to be implementing this feature too? Well, at least it is proven that closed source programs with big companies behind it have their problems too, who knows how many really serious calculation errors have been made without people knowing about them.

    1. Re:Open office .. . . by Ilgaz · · Score: 1

      So, what's the plan here, is Open office calc going to be implementing this feature too?

      Well, at least it is proven that closed source programs with big companies behind it have their problems too,
      who knows how many really serious calculation errors have been made without people knowing about them. No but someone better call Novell and Icaza compatibility labs.

  108. Please release GTMO prisioner #65,535 by Regroover · · Score: 1

    We seem to have made a mistake in his political views. Oops, he died? Thank goodness his number is unlisted.

  109. It's not a bug, it's a feature by viking80 · · Score: 1

    It's not a bug, it's a feature. Like OOXML, where all MS defects had to be implemented as features by other developers. MS has defined this MUL as a feature. It is now up to us to update textbooks and other spreadsheets with the same feature.

    --
    don't cut it off www.mgmbill.org
  110. Maxima Agrees 3824345300380220 by Anonymous Coward · · Score: 0

    Just ran it through maxima, it agrees that the result is 3824345300380220.

    wtf is this "Lameness filter"? I had to remove the code sample from Maxima in order to get this past some filter on 'junk' characters. Grrr.

    1. Re:Maxima Agrees 3824345300380220 by collectivescott · · Score: 1

      The lameness filter is set to reverse. It rejects useful code and ascii art.

  111. I have another theory entirely. by Mr+Z · · Score: 5, Informative

    ...except for the minor detail that 65535 is 0xFFFF... :-)

    That said, my 32-bit print routine for a 16-bit CPU actually works by printing two 16 bit numbers, with a slight hack to the 16-bit routine to allow it to print numbers in the range 65536 - 99999 for the lower 5 digits. It does this by dividing the 32-bit number by, you guessed it, 100000. It then prints the quotient and the remainder. It has to do some extra legwork, though, to get the leading zeros right across the two words, and I think it's there that the code went south if they're using a technique similar to mine.

    I'm guessing what happened here is that there's an off-by-1 error in a comparison somewhere (i.e. ">= 65535" instead of "> 65535"), and the 32-bit quotient/remainder print routine kicks in. Since the number is already smaller than 100000, it probably hits a fall-thru case where the quotient is assumed to be 1, and there's no remainder, hence it printing 100000.

    For reference, here's that assembly code I mentioned: prnum32.asm and prnum16.asm

    --Joe
    1. Re:I have another theory entirely. by jorghis · · Score: 2, Insightful

      Thats actually a pretty good theory. Especially in light of the fact that this appears to be a display bug. (ie the data thats actually in the cell is correct, its just printing wrong) Of course, we will never actually know. :)

    2. Re:I have another theory entirely. by Sun · · Score: 1

      No, that doesn't seem like it.

      If what you suggest were it, then this would be a display only bug. If that were the case, =A1+1 would have been "65536", and not "100001".

      Shachar

    3. Re:I have another theory entirely. by gogodidi · · Score: 5, Funny

      Unless somebody here works for Microsoft who has access to inside information... I'm sure there are hundreds of you, all those anonymous cowards are probably Microsoft employees in disguise!

      --
      ugh...
    4. Re:I have another theory entirely. by Mr+Z · · Score: 3, Interesting

      As Harlan Grove pointed out in the thread, some functions may be taking the value from the .Text property rather than the .Value property. Most things see the correct value despite it being misdisplayed.

      Why would they do something goofy like that? I have no idea, and I don't have an easy way to check off-hand, at least not in Excel 2007.

    5. Re:I have another theory entirely. by Anonymous Coward · · Score: 5, Funny

      no, I've asked guys around the office; nobody reads slashdot here.

    6. Re:I have another theory entirely. by imdx80 · · Score: 3, Informative

      Debug.Print Application.Cells(1, 1).Text
      Debug.Print Application.Cells(1, 1).Value

      where the formula is in cell A1. You get the correct & incorrect results depending on whether you look at value or text

    7. Re:I have another theory entirely. by Mr+Z · · Score: 1

      That explains all the votes for the "never have, never will" option on the "How often do you vote in Slashdot polls?" poll....

    8. Re:I have another theory entirely. by cnettel · · Score: 1

      All formatting options seem affected, except date formatting, BTW (ok, but there you have the leap year thingy...). The date is presented as 2079-06-04, which is "correct". If you select scientific notation or whatever, everything still says 10^5.

    9. Re:I have another theory entirely. by DontLickJesus · · Score: 1

      Your theory is correct. I'm surprised this "bug" is still around. Back in Lotus days one of the coders, a friend of mine, decided to extend the floating point by converting the numbers to strings and doing manual math with the numbers. This lead to a strange bug where 1+2+3+4-4-3-2-1=.0000000000000001.... Months later Excel popped up with the same bug. Looks like some of this old code is still lurking around.

      --
      Where genius and insanity become confused true wisdom is found
    10. Re:I have another theory entirely. by Anonymous Coward · · Score: 0

      65535 is also the maximum number of rows you can have in excel. OOo used to be okay with larger values, but that changed to match excel's a number of years ago. Nothing like a 2 byte number limiting an application running on 32 and 64 bit machines.

    11. Re:I have another theory entirely. by Anonymous Coward · · Score: 0

      I just read slashdot for the articles.

  112. Re:Microsoft Excel is the Worst Part of Office 200 by Anonymous Coward · · Score: 0

    ...unfortunately, one of my paying customers requires Excel 2007 because they invested heavily in it (long before I was contracted), so I haven't got much choice, since .xlsx documents won't open in any FOSS spreadsheet apps.

    You can use Office 2003 if you have it - MS has an add-in that allows it to open/save the 2007 file formats. Sorry, no URL handy.

    - T

  113. Comment removed by account_deleted · · Score: 1

    Comment removed based on user account deletion

  114. I've got a theory... by XNormal · · Score: 3, Funny

    It must be bunnies!

    --
    Stop worrying about the risks of nuclear power and start worrying about the risks of not using nuclear power.
    1. Re:I've got a theory... by Staale+Nordlie · · Score: 1

      ...or maybe midgets.

    2. Re:I've got a theory... by Camshaft_90 · · Score: 0

      It's not a bug.... It "IS" a feature :)

      --
      JH
    3. Re:I've got a theory... by FlopEJoe · · Score: 1

      wizards?

    4. Re:I've got a theory... by Pope · · Score: 1

      What do they need a spreadsheet for anyway?

      --
      It doesn't mean much now, it's built for the future.
    5. Re:I've got a theory... by f8l_0e · · Score: 1

      It could be witches Some evil witches Which is ridiculous 'cause witches they were Persecuted Wicca good and love the earth and Women power and I'll be over here

    6. Re:I've got a theory... by Anonymous Coward · · Score: 0

      Bunnies aren't just cute like everybody supposes. They got them hoppy legs and twitchy little noses! And what's with all the carrots? Why do they need such good eyesight for anyway?

    7. Re:I've got a theory... by hawk · · Score: 1



      Haven't you ever heard of "multiplying like rabbits???"

      hawk

  115. Google Calculator bug by clem.dickey · · Score: 1

    For that matter, ask Google how may radians in a cycle. Do No Evil Inc. hasn't bothered to fix that in the year or so since it was reported to them.

  116. But if you run it on a Pentium Pro... by mr_josh · · Score: 1

    ...everything is peachy! Now THAT is backward compatibility!

  117. Mod - UP by bmsleight · · Score: 1

    Alas I do not have windows - be woudl be a good test case.

  118. Re:obviously malicious by Rodyland · · Score: 1
    "bought"? What is this "bought" you speak of?

    I've heard the word before, obviously, but never in relation to Microsoft software, so it must have some other meaning in this context...

  119. Sad but true... by SanityInAnarchy · · Score: 1

    That is a very Spreadsheet-like mentality.

    A mentality of not wanting to learn a programming language, so you learn Excel, which really isn't any easier, and is, in fact, considerably harder when it comes to doing anything complex. But like the idiots who learn PHP, you stick with it because it's what you learned on, even once it's painfully obvious (even to you) that you've got an unmaintainable mess.

    --
    Don't thank God, thank a doctor!
    1. Re:Sad but true... by Anonymous Coward · · Score: 0

      I agree with you, especially when people use excel as a "database".

      i'm looking to switch away from perl (which I only use for one-liners, and without its object-orientation).

      could you tell me why is php for idiots, and what you would recommend instead. (python? perhaps ruby?)

      Thank you.

    2. Re:Sad but true... by Anonymous Coward · · Score: 0

      mysql_real_escape and mysql_the_real_escape_this_time_no_kidding.

      Second one is a joke (so far I hope), but I hope you understand it.

      There's also idiocy like addslashes and magic_quotes. All this shows how evil/stupid/ignorant the people making PHP are.

      Try python and lisp, and for perlish stuff try perl. Problem with lisp is that while the things that are practically impossible in other languages become doable in lisp, there are lots things that are harder than they should be in lisp (as compared to other languages) - lisp needs better libraries to do the easy stuff (like perl's cpan) in fairly standard ways.

    3. Re:Sad but true... by Vintermann · · Score: 1

      Excel is a domain specific functional programming language. It's not for _everything_ complex, but it's very good at some complex things, including things that would be a PITA in a regular PL.

      --
      xkcd is not in the sudoers file. This incident will be reported.
  120. agreed by g4b · · Score: 1

    What's your point?

    *dramatically* ooooh, whats the point!

    here i am, having the greatest table ever created, and what are they using it for?
    tower calculations!

  121. please dig this story and get it to the masses by AFormalEvent · · Score: 1, Insightful
    1. Re:please dig this story and get it to the masses by jkrise · · Score: 0, Offtopic

      Something seriously seems to be wrong at Digg. Why rubbish stories get dugg 1000s of times, while this important one has less than 10 diggs after 2 hours, 42 minutes (as I post this) baffles me. I've even posted this on the Digg comments for this page.

      Digg is certainly more popular than Slashdot, which probably explains why there's so much more incentive to block such serious bugs in Microsoft products getting highlighted.

      This is very very fishy indeed.

      --
      If you keep throwing chairs, one day you'll break windows....
    2. Re:please dig this story and get it to the masses by trib4lmaniac · · Score: 1

      15 diggs after 3 hours is pretty good going at Digg; it takes a while for stories to reach the front page. I imagine this story has enough steam to make it to the top.

    3. Re:please dig this story and get it to the masses by Anonymous Coward · · Score: 0

      Over the tannoy at Microsoft HQ....

      "Beep Boop Bing Bong.... There is an adverse story about us on Digg right now. Would all workers take the time out to bury the story.... Thank you... Beep Boop Bing Bong"

    4. Re:please dig this story and get it to the masses by nschubach · · Score: 2, Interesting
      Not to mention I think this comment makes a good point:

      You do know there's a big of angst between Slashdot and Digg, right? As the post on Slashdot implies that this will not be seen unless it's on Digg would tell me that whoever posted it on Slashdot has little respect for Slashdotters and Slashdot itself.
      --
      Every time I start to have faith in humanity, I ruin it by driving to work between 7 and 8 am.
    5. Re:please dig this story and get it to the masses by brunascle · · Score: 1

      comment posted on [giant user driven aggregate article site 1]: "please post this story on [giant user driven aggregate article site 2] and get it to the masses"

    6. Re:please dig this story and get it to the masses by cluke · · Score: 0, Offtopic

      Ugh, why? Here's a sample response from a Digger

      "How often do you use Excel for a calculation that will result in 65535? I'll agree that it is a bug, but I hardly think that it cripples Excel."

      Let's just leave those Brainiacs to it. Best hope for reaching the masses is a story in BBC Technology news or something like it.

    7. Re:please dig this story and get it to the masses by Anonymous Coward · · Score: 0

      "It's hardly a 'critical' bug, is it? It's not like 'typing SUM deletes the contents of your C drive'." Wich means: It's ok to get payd for 65535 and ship 100000, as long as the contents of your C drive do not get deleted.

    8. Re:please dig this story and get it to the masses by ekimminau · · Score: 2, Interesting

      I found this interesting.

      +44 diggs by trib4lmaniac 3 hours ago
      Of interest is the fact that 65,535 is the largest number that can represented by an unsigned, 16 bit integer (i.e. 0xFFFF).

      After a little experimentation in VBA, I have found that 100000 is only returned when accessing the cells "Text" property. When asking for the cells "Value" 65,535 is returned as expected.
      I created a quick macro to test this after filling cell A1 with the formula "=850*77.1"

      MsgBox (Range("A1").Text) => Alerts 100000
      MsgBox (Range("A1").Value) => Alerts 65535

      --
      Armaments, 2-9-21 And Saint Attila raised the hand grenade up on high, saying, 'O Lord, bless this Thy hand grenade' N
    9. Re:please dig this story and get it to the masses by Anonymous Coward · · Score: 0

      I wonder why people doesn't understand both slashdot and digg has very different purposes.

      Imagine Mr. Carmack himself posting to Digg about a ID Software issue and gets "dugg down" to -20 levels :) Not a joke, it can really happen there.

      Digg is very highly dynamic, fast site which makes it open to abuse of all kinds. For example I can't even "touch" that "Apple" section after iPhone begun but it is a good way of watching trends and "light" stuff.

      Unless they give the boot to those suspicious "one IP block, 60 diggs" issues, I can't take them serious. If they give the boot and also implement Karma system, whole "speed" of site will go down. So, it is better they work on "ignore" features and stopping large, professional kind of abuses.

      I can't understand now can people compare Digg and Slashdot. It is like comparing NY Times to NY Post.

      Slashdot couldn't be that fast with real editors but you would expect to read the root of this problem written by a developer soon.

      As I already have stalkers on Digg, posting this as AC which Slashdot provides ;)

    10. Re:please dig this story and get it to the masses by m50d · · Score: 1
      As the post on Slashdot implies that this will not be seen unless it's on Digg would tell me that whoever posted it on Slashdot has little respect for Slashdotters and Slashdot itself.

      Au contraire; he's talking about it being seen by the masses, and slashdotters like being identified as not part of the masses, as a matter of pride.

      --
      I am trolling
    11. Re:please dig this story and get it to the masses by Anonymous Coward · · Score: 0

      >slashdotters like being identified as not part of the masses, as a matter of pride.

      Yeah, except when it comes to Apple or Google.

    12. Re:please dig this story and get it to the masses by Ilgaz · · Score: 1

      I almost forgot, Slashdot has meta-moderation. For example, the idiots "dugg down" my comment to -1 on Slashdot which had a point about the story as:

      "Digg could be lot more popular but for example, if this story pops up in EWeek.com or ZDNet which are popular for enterprise Windows people , it will be lot more serious issue for Microsoft. Imagine you are a decision maker thinking whether to use IBM solutions, Sun or MS and you read this story on your favourite mags website."

      Will be meta-moderated to hell and will never ever have "moderator" powers to abuse again. It seems there is a reason for "karma bonus" thing.

  122. Floating Point not like Integer by aepervius · · Score: 1

    They are using floating point number for multiplication of non integer numbers (unless I missed something one of the number he multiply to as ".1"). The Intermediate number of the calculation must be a floating point and THEN a floating-point-to-integer conversion happens because it sees "ohhhh I can convert this because the fractional part is .0000000000000 (i.e. all bit set to zero)". This only point to some weird behavior of the floating point to integer conversion, but not of the multiplication itself. Still this is a big one... I'll try it at work for a laugh.

    --
    C. Sagan : A demon haunted world:
    http://www.amazon.com/gp/product/0345409469/
    visit randi.org
  123. looks like MS didn't learn from its own mistakes by Anonymous Coward · · Score: 0

    Years ago, if you entered 2.11-2.1 in any windows 3.1 application using the system math library, you got 0. This was a huge bug that went unpatched for a long time due to the unavailability of public Internet access at that time. IIRC it survived even the 3.11 WfW version.

  124. modulo by xuanyou · · Score: 1

    I've just tried modulo on the formula result, and it appears that Excel 2007 just goes STARK RAVING MAD.

    Assuming A1 is =850*77.1
    MOD(A1,65534) returns 1 (A1 is 65535)
    MOD(A1,65535) returns -7.27595761418343 * 10 ^ -12

    In fact, where the divisor is from 1 to 65535, where the modulo would normally return 0, it returns this tiny decimal value.

    MOD(A1,65536) returns 100000. ??

    Where the divisor is 65536 or greater, the modulo goes mad and just returns 100000.
    Even MOD(A1,100000) returns 100000, when that should be impossible with a divisor of 100000.

    Conclusion: Microsoft accounted their Vista adoption rate using Excel 2007.

    --
    - xuanyou
  125. Interesting to note by Anonymous Coward · · Score: 0

    =(2^16) returns 65536
    =(2^16)-0.000000000009 returns 1000001

    The raw XML saves the result with 12 decimal places.

    r="A1"
        f>850*77.1
        v>65534.999999999993

    r="J1"
        f>(2^16)-0.000000000009
        v>65535.999999999993

  126. Excel 2003 - 65,536 rows. by MrKneebone · · Score: 1

    Excel 2003 has 65,536 rows. one number off ... Coincidence? What's the logic for selection of this amount of row limitation? What's the significance of this number to Excel?

    1. Re:Excel 2003 - 65,536 rows. by Zelos · · Score: 1

      65,535 is the maximum number representable using 16 binary digits.

    2. Re:Excel 2003 - 65,536 rows. by Dunbal · · Score: 1

      Excel 2003 has 65,536 rows. one number off ... Coincidence?

            No, the "one number off" is because we humans like to begin counting with the number "1" while computers start counting from "0".
      So in reality there are 65535 rows, ie (2^16) - 1

      --
      Seven puppies were harmed during the making of this post.
  127. That's it! by JCWDenton · · Score: 1

    I'm going back to calc.

    (Yes I have tested it. Perhaps they should open up it's API to Excel).

  128. Please STFU by Anonymous Coward · · Score: 0

    I've been billing at $71.10 per hour for years due to this bug.
    You guys just ruined my gravy train.
    Bastards.

  129. The Internet is just a passing fad by Anonymous Coward · · Score: 0

    Yeah and into the late 1990's he was still proclaiming the Internet to be just a "passing fad". This Excel bug is just another example of the crap from that company, if it weren't for the multitude of PR firms working full time to create various myths of greatness, we'd all be (collectively) saving billions of dollars per year.

  130. Wow ... by Ihlosi · · Score: 1
    I use Matlab and Octave constantly for things everyone around me uses Excel for (I do structural engineering).



    And I thought I was the only one doing that ! Most people in my department use Excel for graphs, filtering and other tasks that Matlab is so much more suited for. I'm one of the two people actually using Matlab.

  131. Re:Microsoft Excel is the Worst Part of Office 200 by Anonymous Coward · · Score: 0

    No, we look at the kernel dump and pass the bug along to the windows team, who will then insist that the bug was fixed in a more recent drop (that isn't yet available).

  132. basic math errors in MS libs? Nothing new.. by 12357bd · · Score: 5, Interesting

    Back in the 386 days, the tan() function returned the wrong sgn if no coprocessor was present. Contacted and confirmed the error they simply ignored such a basic issue, and replied with 'use sin() and cos() functions instead'. Great.

    It seems old habits never die!

    --
    What's in a sig?
  133. old news really by Anonymous Coward · · Score: 0

    Not much has changed in 10 years it seems. In '99, a paper appeared describing the abysmal state of statistical accuracy in MS excel. Nobody requiring 100% reliability of the results should trust *any* version of excel without carefully double checking the calculations independently.

    I am amazed that even people here are surprised that spreadsheets have bugs.....

  134. Global Warming... by Belial6 · · Score: 1

    Now we know how they came up with all that Global Warming data!!!

  135. Quick check: Octave is wrong by Anonymous Coward · · Score: 0

    The 4*5 can be written as 2*2*5, which can be written as 2*10. This guarantees that the last digit is a zero. (Any number multiplied by ten ends in a zero).

    So Octave is wrong.

  136. Incompetents.... by gweihir · · Score: 1

    It is not hard to write a working spreadsheet. You need to deal with the issue of updates that cause more updates (i.e. non- or slow-converging speadsehets), sure. But it is understaood how to do that: Limite the cycles, detect loops and warn the user.

    Apart from that, it seems to me it realy takes a very high level of incompetence to screw up direct computations. I don't think anybody besides Microsoft manages to be this stupid. And in a mission-critical application, no less.

    --
    Most ACs are not even worth the keystrokes to insult them. Be generically insulted by this and ignored otherwise.
  137. Or maybe they thought of this... by Anonymous Coward · · Score: 0

    Or maybe they thought of this and use another internal representation?

    1. Re:Or maybe they thought of this... by ceoyoyo · · Score: 1

      I suppose they could use BCD, but you're going to have to convert to IEEE floating point to run it through the processor anyway. You could just use a higher precision type internally and only display a lower precision, but either way OOCalc is still lying to you about what that number really is.

      Unless they do BCD computation in software, of course. That would make OOCalc way more slow and bloated than it already is though.

    2. Re:Or maybe they thought of this... by ratboy666 · · Score: 1

      Who, there, ceyoyo!

      First, a BCD arbitrary precision math package weighs in at around 8K bytes (binary estimation for x86).

      Second, the OOcalc approach can be reviewed (I haven't bothered).

      Third, these numbers can be represented in an exact format without the mess of BCD (scaled integers). If I were writing a program used by accountants, I would use scaled integers of arbitrary length. I would only convert into floating point when a transendential function is used. I would also use rational numbers as much as possible (after all 1/3*3 should be 1, yes?).

      Fourth, there are systems that use these approaches to great success (and no one calls them "bloated"); I give you Smalltalk (Squeak), and the number stack in Scheme.

      Again, I HAVEN'T reviewed OOCalc (because I honestly don't use it), but the software I *do* use for basic math doesn't suffer from these issues because it can't (by design).

      Are you telling me that a math system for ordinary people DOES suffer from these issues (specifically, Excel)? People who use the computer without knowledge of the limitations and characteristics of floating point numbers? And who possibly depend on the correctness of the answers? Now, heres another thing - if the person uses a pocket calculator, 1/3 is either IMMEDIATELY displayed as "0.3333.." to the limit of the display, or is (in some calculators) kept as 1/3. But the effect is exposed. If 1/2 is calculated, the answer is exact in either case, and a chain calculation (*2) works as expected. But with a spread sheet, a conversion between the two can happen with the user seeing it!

      I find it mind-boggling. Maybe I should crank out a simple Scheme based spreadsheet. Perhaps call it "AccurateAnswers", or "CalculatesForSure".

      Excel is wrong. Possibly OOCalc is wrong (I don't know). Please hold peoples toes over the fire until it is right.

      --
      Just another "Cubible(sic) Joe" 2 17 3061
    3. Re:Or maybe they thought of this... by ceoyoyo · · Score: 1

      There's nothing "wrong" about it, it's a side effect of changing bases and it just means you can't depend on the last digit or so of precision. If you need those digits, switch to a bigger type.

      Scientific computation uses IEEE floating point pretty much exclusively. You just round off the last digit or so. As you point out, calculators do the same thing. If you're depending on the least significant digit of your data type to be precise, no matter what base, accountant or not, you really shouldn't be working with numbers.

      I forgot about using fixed point math, which you could do, but again, it's a software solution that's going to slow things down. It might be okay for a spreadsheet but it's a no go in many other applications. Do you see anyone using Scheme or Smalltalk for heavy number crunching?

      Neither Excel nor OOCalc is wrong. The most likely answer (I don't have time to dig through the OOCalc code to find out for sure either) is that OOCalc is rounding that least significant digit for you. Excel isn't but you SHOULD be when you look at it.

      If your accountant doesn't know about significant digits, switch accountants.

    4. Re:Or maybe they thought of this... by ratboy666 · · Score: 1

      Slow things down? Why?

      Keeping a rational object 1/3 is as simple as

      object: numerator=1 demonimator=2

      Both are simple integers.

      When adding 1/3 + 1/3 + 1/3, the computer needs to do 4 integer adds.

      If 1/3 becomes 0.333.., the computer needs to do 2 floating adds. Which is faster? Please note that most CPUs have multiple integer units, and only a single floating point unit.

      So much for slowing things down (perceptibly). Most people do not use spreadsheets for heavy duty numerics work. Most people do not know about propogating error terms in calculations.

      The original spreadsheet (Visicalc) was coded to run in a minimal amount of memory. The use of floating point arithmetic could be excused. The text-based SC spreadsheet ALSO uses a minimal amount of memory. But current "general use" spreadsheet programs use megabytes of RAM. They should use accurate math as much as possible. If trig, log, etc. functions are used -- yes, I can understand putting the calculation into a floating point domain. Or, if explicit data typing is used. But not for casual use.

      I want EXACT representation if at all possible. And it is. And it isn't difficult. Why does a simple training language like Scheme support this, and not a juggernaught like Excel?

      --
      Just another "Cubible(sic) Joe" 2 17 3061
    5. Re:Or maybe they thought of this... by ceoyoyo · · Score: 1

      Ah, you picked the simplest possible example. Let's instead suppose I want to calculate 1/3 + 1/7 + 1/11.

      First step, I have to find a common denominator. Simplest way to do that is to multiply the three existing denominators. That's two integer multiplies and gives me 3*7*11 = 231. Next step, need to figure out the numerators. The first one is 1*7*11=77 (two more multiplies), next one is 1*3*11=33 (two more multiplies) and the last is 1*3*7=21 (two more multiplies). Now I can do my addition, 77+33+21=131 (two integer adds). Okay, I've got 131/231 now. BUT, if my fractions aren't going to get really out of hand I need to make sure that fraction is in simplest form. Maybe somebody can come up with a better algorithm but my first thought is to prime factorize both numbers. Prime factorization requires dividing a number by all the primes up to it's own square root. So let's take the denominator. We do a square root (let's use an integer approximation and round it up), which gives us 15. So now I need to do about eight divides to check for prime factors (assuming I'm smart enough to only try odds and 2, but I don't have a big table of primes handy). The top is another square root and about six divides. A few comparisons to see if I can eliminate any common factors, then some divides to do the elimination (which I don't have in this case).

      Whew. Okay, what's the damage? In this case I've got a grand total of 8 multiplies, 2 adds, 2 square roots (that's going to be a biggy), 14 divides and a bunch of comparisons.

      Compare that to a pair of floating point adds. And that's for three SMALL numbers. Imagine what would have happened if they'd been big ones! The prime factorization would have been a lot bigger and the square root would have been harder. If I'd found common factors there would have been some more division to do.

      Note that I've got to be really careful and check for overflows at every step (which probably takes more time than actually doing the calculation itself). If an integer overflows without me noticing I'm in deep trouble. If a float overflows I've just got a bit of a loss in precision (which isn't great, but it's better than wraparound). That makes it very important to make sure fractions stay in simplest form as well, in case you figured on dropping that part.

      Okay, ready? Let's do a compound interest problem. On second thought, let's call it an exercise for the reader.

      Most modern processors have several floating point units as well as several integer units. The floating point math tends to be faster nowadays too. Also, multiple math units don't do you any good when you can't do out of order execution. There are quite a few steps in that little calculation that can't be done out of order.

      In addition to all this being slow, it's misleading as well. How often in real life does someone have a number like 0.1 (which can't be represented precisely in floating point binary, incidentally) and really mean PRECISELY 1/10? Pretty much never. They mean 0.1, or maybe 0.10, or even 0.10000000. So you see, you have to know about significant digits anyway. Except your "Accusheet" is misleading me into thinking the answer is precisely 131/231. It's not. It's 0.6.

      Now, autoformatting of spreadsheet cells based on significant digits might be kind of a cool feature.

    6. Re:Or maybe they thought of this... by DragonWriter · · Score: 1

      Keeping a rational object 1/3 is as simple as

      object: numerator=1 demonimator=2


      Er, no. That would be 1/2, not 1/3. (And you mean "denominator".)

      When adding 1/3 + 1/3 + 1/3, the computer needs to do 4 integer adds.


      It needs to do two integer adds, and two compares. If the denominators weren't equal, it would also need to go through several more operations to find a common multiple of the denominators and adjust the numerators correspondingly; OTOH, this doesn't really invalidate your point, since its not a lot of operations, and they are all integer operations.

    7. Re:Or maybe they thought of this... by dido · · Score: 1

      I find it mind-boggling. Maybe I should crank out a simple Scheme based spreadsheet. Perhaps call it "AccurateAnswers", or "CalculatesForSure".

      Maybe it should be called SIAG Office?

      --
      Qu'on me donne six lignes écrites de la main du plus honnête homme, j'y trouverai de quoi le faire pendre.
    8. Re:Or maybe they thought of this... by Vintermann · · Score: 1

      Bloated? Hardly. BCD isn't that difficult. Slower, yes, but if you need speed, you don't use a spreadsheet.

      FYI, most databases use BCD for numeric fields. That's why Mike Cowlishaw, IBM's senior floating-point guru, managed to convince them to add a dedicated decimal floating point unit to their Power6-processors.

      --
      xkcd is not in the sudoers file. This incident will be reported.
    9. Re:Or maybe they thought of this... by Vintermann · · Score: 1

      > Scientific computation uses IEEE floating point pretty much exclusively. You just round off the last digit or so.

      Perhaps a slight simplification of the IEEE standard there? It's dark magic to me...

      But yes, an accountant needs guarantees that every last cent is accounted for, and I certainly want the last digit of precision in my ints!

      I used to work for a company that produced a business system which used binary floats for representing currency values. The accountants were furious. You will not find an accountant who will accept a few cents short of balance just because you blame it on your architecture's inability to represent 0.1 accurately.

      --
      xkcd is not in the sudoers file. This incident will be reported.
    10. Re:Or maybe they thought of this... by Vintermann · · Score: 1

      > When adding 1/3 + 1/3 + 1/3, the computer needs to do 4 integer adds.

      And a GCD + two divisions, although that can often be delayed. But you're right, spreadsheets should use exact arithmetic whenever possible. If my TI-89 could do it, why not them?

      --
      xkcd is not in the sudoers file. This incident will be reported.
    11. Re:Or maybe they thought of this... by Vintermann · · Score: 1

      > Maybe somebody can come up with a better algorithm but my first thought is to prime factorize both numbers.

      There's an "Euclid" here who says he has come up with a better algorithm :-)

      --
      xkcd is not in the sudoers file. This incident will be reported.
  138. A test engineer's perspective by k3str3l · · Score: 1

    While it's true that one can't ever find all bugs, and some bugs will occur in surprising places...for a skilled test engineer, testing the boundaries between 16-bit and 32-bit integers is a pretty straightforward area to cover.

    --
    There is just no way that you are the pine-scented air.
  139. Re:Not all formulas resulting in 65535 display wro by Nazlfrag · · Score: 1

    I think you're onto something. The discrepancy with 'A1+1' is most likely to do with the addition operator for text fields taking precedence and ignoring the value field, where multiplication is not defined for text fields and doesn't get messed up by precedence rules. Still, how the value to text field conversion of 65535==100000 came about is mind-boggling.

  140. strong economic forecast by Anonymous Coward · · Score: 0

    well alteast we will have some strong economic growth after countries migrate to office 2007

  141. Compiler bug? by Myria · · Score: 1

    Maybe it's a Visual Studio 8 compiler bug. Between Excel 2003 and 2007, Microsoft released Visual Studio 8.

    It'll be fun to reverse engineer the patch they'll release and see what the problem actually was. If it's a compiler bug, it would be best for all developers to know.

    It wouldn't surprise me if it were a bug in the code generation for /arch:sse. Someone claimed here that on a Pentium Pro it works correctly, suggesting that it could be something related to SSE. Mac Excel 2007 doesn't have the bug, but that is probably compiled with ICC or GCC.

    --
    "Screw Sun, cross-platform will never work. Let's move on and steal the Java language." - Visual J++ Product Manager
    1. Re:Compiler bug? by cnettel · · Score: 1

      I think that was just a joke. I would be highly surprised if it is indeed a compiler bug, but we should naturally not rule it out. From personal experience, I know of bugs in code generation fixed when using SSE intrinsics between 7.1 and 8.0 (I don't know if the latest updates to 2003 will fix these...).

  142. 16 bits by Andrei+D · · Score: 1

    16 bits should be enough for everybody...

    --
    We often refuse to accept an idea merely because the tone of voice in which it has been expressed is unsympathetic to us
  143. They DO pay you to find bugs .. by Dr_Barnowl · · Score: 4, Interesting

    ... your payment is a free office suite.

    Bug finding is a valuable contribution to the value of any product. My current testing policy is to find the biggest pain in the ass in my user community - whoever has the largest bug count from the previous release. And give them the first beta. Every bug squashed improves the product for everyone. The cumulative value can't be ignored.

    If you find bugs in any software, it's in your interest to report them, because you obviously want them fixed. If it's a commercial product, you may even be able to get more instant satisfaction. OTOH, for open-source products, I've had an instance where I was able to saunter into an IRC channel, mention a particular bug, and have the lead developer upload a new version to my server within 10 minutes, because he recognised the value of having a technically able user put his product through heavy stress.

    Don't just swear and cuss about bugs in OpenOffice. Report them, send them copies of the files that break it. You might get your bug fixed. For free, in the next version. When did you last get that sort of deal from Microsoft?

    1. Re:They DO pay you to find bugs .. by Zashi · · Score: 1

      I would mod you insightful had I not squandered my points modding anonymous cowards +1, funny.

      (Kidding... or am I?)

      --
      Skiffy is Spiffy, but Ort is tort.
    2. Re:They DO pay you to find bugs .. by Vintermann · · Score: 1

      This post has been marked as resolved (not reproducible)

      ---

      Reporting bugs can be an annoying experience. Maintainers always seem to think you are some kind of crank with no clue, even though you've spent hours trying to pinpoint when the bug happens and not. If they don't see it immediately (and they always manage to try in the obscure circumstance that the bug mysteriously doesn't turn up), it's often "case closed, better not pay any more attention to that guy, he's just weird".

      --
      xkcd is not in the sudoers file. This incident will be reported.
    3. Re:They DO pay you to find bugs .. by Anonymous Coward · · Score: 0

      no funny mods and no one commenting about your irc gift from a random stranger yet. I'm disappointed in this crowd.
      It's a bit worrying actually now that I think of it. Although I suppose it is mostly windows users and young linux fanboys reading this thread. ;-)

  144. Dandy, but... by G3ckoG33k · · Score: 1

    That's all fine and dandy, but where is the prnum64.asm? ;)

    1. Re:Dandy, but... by Mr+Z · · Score: 1

      Right next to that twinkle in my eye as I say, ever so politely, "die in a fire." ;-)

      *chuckle* Thanks for the laugh. :-)

  145. Clippy by Dunbal · · Score: 1

    From somewhere in the code storage section, an evil laugh can be heard...

    "Fire ME will you? Hahahaha. Looks like you're trying to resolve a 16 bit number do you want:

    * The correct answer
    * 100,000"

    --
    Seven puppies were harmed during the making of this post.
  146. Knowledge Base Article Resolution by jasonwea · · Score: 1

    "This behaviour is by design."

  147. Not a bug by Anonymous Coward · · Score: 1, Informative

    By definition, 1 Hz = 1/s and 1 rad = 1. I follows that 1 Hz = 1 rad/s.

    The problem is of course in the semantics. There's nothing in the definition of a hertz that limits it to cycles or rotations. So Google's answer is among the infinity of possible interpretations. If an object turning at 1 rad/s beeps at every completed radian, the beep rate is 1 Hz.

    By the same vein, Google correctly reports that

        1 radian = 1.66053886 x 10^-24 moles

  148. When will this be in OpenOffice? by SpaghettiPattern · · Score: 1

    Anyone knows when this will be in OpenOffice? (The manager would be so reassured.)

    --

    I hadn't the slightest objection to his spending his time planning massacres for the bourgeoisie... (P.G. Wodehouse)
  149. Beta Testing != Quality Control by splutty · · Score: 1

    Unfortunately I see more and more software companies using beta testers where they should've implemented quality control from the start. In a properly designed program, you can pretty much point at any sort of calculation or procedure that might cause off-by-one errors and such.

    Having more people at least look over the code for these kind of discrepancies saves a lot of headaches later on.

    --
    Coz eternity my friend, is a long *ing time.
  150. So that's how... by ignavus · · Score: 1

    So that's how...Bill got to be a billionaire?

    He couldn't count: $1 $2 $3 $4 ... $65,535 $100.000 ... $655,350 $1,000,000 ... $65,535,000 $100,000,000 ...

    He is really only 2/3 as rich as he says he is!

    --
    I am anarch of all I survey.
  151. Re:obviously malicious by Anonymous Coward · · Score: 0

    Cost or Value ? There's a big difference.

  152. And the manager? by cheekyboy · · Score: 1

    Its all good to document the bugs, but will the product manager approve the fixing of such bugs, if his personal stats on number of bugs
    found/fixed is high, and he loses his xmas bonus. He might just reclassify it as a 'low priority' low impact bug and put it on the bottom of the other
    500000 bugs.

    Just like IE6, MS has recognized lots of bugs, some simple that would take one line of code fix, but would NOT DO IT, because they had
    top orders to do security ONLY fixes.

    Sometimes you gota just say, "screw you management", we are fixing any bug that is quicker/shorter to fix than it takes time to sip a coffee.

    --
    Liberty freedom are no1, not dicks in suits.
  153. Re: Your sig by Dolda2000 · · Score: 5, Funny

    sed 's/readSlashDot\(\)/meetWomen\(\)/g' braindump.txt Oh please! Everyone knows that sed uses old-style regexes, where `\(' and `\)' are subpattern delimiters, not literal parentheses. Furthermore, you'd never need to escape parentheses in the replacement part of the command (unless, of course, you use parentheses as command part delimiters).

    No wonder you can't meet any women!

  154. Fall back by Anonymous Coward · · Score: 0

    Not a bug in Excel 2003 SP2.

  155. SIMD instructions by cskrat · · Score: 2, Insightful

    Besides, 65535 is at the top end of the unsigned 16-bit int range, which seems an odd type to be using for spreadsheet calculations (where negative values are as likely as positive).
    This depends on the type of data that is being worked on. A financial ledger may have numbers that are positive, negative or some scalar of i . Census or poll data, mileage charts, employee time-sheets or transactions/time (to name a few),however, will seldom have negative numbers.

    A large number of x86/x64 systems now have support for SSE and MMX instructions which, if done right, could provide a significant speed increase when working with a large set of small numbers. However, many instructions in these extensions behave in an data destructive manner when an overflow condition is encountered. For example, when working with saturation arithmetic instructions you may compare the result with $FFFF and, on a match, branch to code that handles a saturation condition on the assumption that the real result is greater than $FFFF. Such an approach works fine until you encounter a situation where $FFFF is the correct result but the program flow jumps to the saturation handler anyway, possibly with garbage data stuffed in registers that would normally be used to pass values to the handler.

    Of course it's just speculation that they attempted to optimize the offending function in assembly; and it's further speculation that they chose to optimize it with SIMD instructions. However the fact that this bug appears right at the edge of the unsigned 16-bit integer range really does suggest that somebody was trying to do something clever in assembly and failed to account for all possible conditions.

    If anyone out there is bored and has read this far, try timing a few operations on a large set of small integers in Excel 2007 and then toggle off SSE/SSE2 in BIOS and time the same set again. I'm curious as to whether or not MS did do this sort of optimization but I'm not curious enough to borrow a copy of Excel from The Pirate Bay just for this test.

    --
    My God! It's full of eval()'s.
  156. It is a bug by aepervius · · Score: 1

    When you enter a value in a cell, it should start the auto-detection from scratch. Instead, it takes the decimal number and try to interpret it into a date, despite that the format used is obviously not a date format, and your cell is defined as "standard" format cell. The fact is, if you enter directly the 3,4 (, is used for floating "point" number) in a cell which was empty it correctly interpret it as 3,4 and not as 3rd January. Only in case you had a date previously in the cell it put 3rd January.

    "English or Swedish date formats might cause trouble in German" there are specific format saved in windows configuration panel (regional coding) and it ignores the regional coding. Another bug.

    --
    C. Sagan : A demon haunted world:
    http://www.amazon.com/gp/product/0345409469/
    visit randi.org
  157. And yet it works FINE when you GRAPH it... by uptownguy · · Score: 5, Informative

    ....interesting twist...

    I just fired up Excel and created a simple graph:

    One column of numbers was a series from 845-855. The next column was the first column * 77.1. As expected, the series jumped from:

    65149.5, 65226.6, 65303.7, 65457.9, 100000, 65612.1, 65689.2, 65766.3...

    But then when I created a graph to display this, I had a simple straight line -- trying to plot the single data point represented by "100000" also displayed the accurate number. Any other calculations done with this number yielded the right result, too. Taking the value of the cell that displays100000 and multiplying it by 2 results in 131070.

    So all things considered, this really amounts to an Easter Egg. Most spreadsheets will calculate, graph, and function exactly as they should even using the results from a cell that displays inaccurately in that one case...

    --


    I would have to say that explosives are the most abused technology in all of history.
    1. Re:And yet it works FINE when you GRAPH it... by Anonymous Coward · · Score: 0

      So.... you're saying that this is a feature. Whew!! I was worried that it might be a bug that might cause my data to be off by 30some thousand. Thank god.

    2. Re:And yet it works FINE when you GRAPH it... by fruity_pebbles · · Score: 1

      I agree. As far as I can tell this is a display bug and not a calculation bug.

    3. Re:And yet it works FINE when you GRAPH it... by marcello_dl · · Score: 1

      > So all things considered, this really amounts to an Easter Egg.

      You crazy? it's a display bug. What about all the cases when a human reads the result instead of a script of a graph?

      Anyway If it were an easter egg it would be the most irresponsible idiocy ever conceived.

      --
      ---- MISSING MISCELLANEOUS DATA SEGMENT --- [sigdash] trolololol
    4. Re:And yet it works FINE when you GRAPH it... by Zcar · · Score: 1

      Except the bit from the article that states (I can't replicate: don't have the software) that adding 1 gives 100001.

    5. Re:And yet it works FINE when you GRAPH it... by DragonWriter · · Score: 2, Insightful

      So all things considered, this really amounts to an Easter Egg. Most spreadsheets will calculate, graph, and function exactly as they should even using the results from a cell that displays inaccurately in that one case...


      You know, some people actually read and use the displayed results from Excel for important purposes, rather than merely feeding them into further calculations, graphs, etc. Where the cell is an ultimate output, this isn't just a harmless display error that doesn't have any functional impact.
    6. Re:And yet it works FINE when you GRAPH it... by fruity_pebbles · · Score: 4, Informative

      That's true, but if you add 1 to that result you get 65537. And dividing either "1000000" or "100001" by 2 gives the correct results. I can replicate the problem as a display problem, but I can't produce any actual calculation errors.

    7. Re:And yet it works FINE when you GRAPH it... by Anonymous Coward · · Score: 0

      Subject 1: "Here boss, have a look at my data"
      Subject 2: "Wait, how can you earn 100K a year?"
      S1: "I am not, it is just that microsoft(tm) excel(tm) displays 100000 instead of my 65535 salary, not much I can do"

    8. Re:And yet it works FINE when you GRAPH it... by inKubus · · Score: 1

      You know, some people actually read and use the displayed results from Excel for important purposes, rather than merely feeding them into further calculations, graphs, etc.

      Yeah, we use it here at the lab to calculate the maximum amount of uranium hexfloride we can have in

      *&@*!_!@#()NO CARRIER

      --
      Cool! Amazing Toys.
    9. Re:And yet it works FINE when you GRAPH it... by acvh · · Score: 1

      you reminded me of an actuary who worked for a company I was hired in. he would enter numbers into a column in Excel, and then use his calculator to add them up.

    10. Re:And yet it works FINE when you GRAPH it... by a1chemyst · · Score: 1

      If you use the cell it in certain functions, it performs the operation on the "100000" not the true value. Use the errant cell in FIXED and you 100000 for the answer [ =FIXED(A1,0,1) ]. FIXED transforms the number value to a text value; this must be more than a display error. It seems many functions that treat the cell value as text use the errant value of 1000000 instead of the true value.

    11. Re:And yet it works FINE when you GRAPH it... by Anonymous Coward · · Score: 0

      If you want it to display the value correctly you can raise it to the third power, then by the one third power.

      i.e. =((850*77.1)^3)^(1/3)

      and it will display 65535.

      you could also use this as just a value check on an existing output cell.

      i.e. =((A1)^3)^(1/3)

      that way you could reference it only when you think there is a problem, and you won't have as much clutter in one cell.

  158. Testing Cases - Spreadsheet for us to use? by failedlogic · · Score: 1

    Are there any spreadsheets/methods that are available for download that would do a good job of running large test cases on Excel? With the amount of companies running this for sales projections, marketing, stock price trending, etc. a large portion of the economy is dependent on the accuracy of Excel and other mathematical software.

    I'm not a Programmer, but I'm getting the impression that MS's test cases weren't extensive enough to pick this one up. Do Sys admins or end-users have test case spreadsheets before installing patches or new versions of Excel to ensure that the results of the new version of Excel or patched version gives the same results as previous versions? And were those the correct numbers?

    I've wondered too, are there chances that different CPUs (hardware or compiler bugs) generate different results for the same equation?

  159. As Barbie Says... by Anonymous Coward · · Score: 0

    Math is hard!

  160. OO*XML math Standard submitted to ISO fast-track by An+dochasac · · Score: 1

    It was announced that the problem will be resolved by submitting a new standard to the ISO committee for fast track:

    2.15.3.6 multiplyLikeExcel2007 (Emulate Excel 2007 multiplication product output.)
    The * operation, previously known as "multiply" has been overloaded^H^H^H^H replaced with a new operation which will be known as multiply. A description of this function shall emulate the behavior of a previously existing word processing application (Microsoft Excel 2007) when determining the function output of values near 65535, the resulting output (also known as "product" shall behave identically to Excell 2007. [Guidance: To faithfully replicate this behavior, applications must imitate the behavior of that application, which involves many possible behaviors (random, psychotic or otherwise) and cannot be faithfully placed into narrative for this Office Open XML Standard. If applications wish to match this behavior, they must utilize and duplicate the output of those applications (perhaps using a table or random number generator.) It is recommended that applications not intentionally replicate this behavior as it was deprecated due to issues with its output, and is maintained only for compatibility with existing documents from that application. end guidance]

  161. Excel 2007 by Seagate/WD by negated · · Score: 0

    ...maybe MS caved in to hard drive manufacturers brand of math to keep everything "standard"?

    -S

  162. Security Development Life Cycle in action .. by rs232 · · Score: 1

    "We have processes in place now where we build documented-threat models at design time .."

    How about hiring someone who can count .. Good think this integrated innovated professional software product isn't written to the same standards as that amateur Linux rubbish made in some kids bedroom ..

    --
    davecb5620@gmail.com
  163. but... 100000 = 65535 by Anonymous Coward · · Score: 0

    Excel should use algebra for this:

    borrowed from a wiki:

    65,535a = 65,535b (multiplying both sides by the real number)
    100,000a = 100,000b (multiplying both sides by the "real" number)
    65,535a2 = 65,535ab (multiplying by a on both sides)
    100,000ab = 100,000b2 (multiplying by b on both sides)
    65,535a2 - 100,000ab = 65,535ab - 100,000b2 (subtracting the above two equations to make one)
    65,535a2 - 65,535ab = 100,000ab - 100,000b2 (subtracting 65,535ab and adding 100,000ab to both sides)
    65,535a2 - 65,535ab + ab - b2 = 100,001ab - 100,001b2 (adding ab and subtracting b2 from both sides)
    65,535a(a-b) + b(a-b) = 100,001b(a-b) (factoring out common terms)
    65,535a + b = 100,001b (removing common terms)
    65,535a = 100,000b (subtracting b from both sides)
    65,535b = 100,000b (substituting a for b, remembering that they are equal)
    65,535 = 100,000

  164. No pleasing you people. by Anonymous Coward · · Score: 0

    Freaking Euros. We FINALLY do something metric and all you can do is bitch about it.

  165. 65535 is the max # of lines in a spreadsheet by Ralph+Spoilsport · · Score: 1
    Scroll down. All the way. You will see it ends at 65535.

    I'm sure the bug has to do with some kind of confusion over 65535 as a string and that number topping out the number of lines, so when that number comes up as a sum, the bad code in Excel sees it as a line value and kicks out something with a pile of zeros, like 100,000.

    Some programmer just got his wings clipped for that.

    It makes the baby Jesus cry.

    RS

    --
    Shoes for Industry. Shoes for the Dead.
  166. It's the only thing they can do by Chemisor · · Score: 0, Flamebait

    According to the logic of Quantum Mechanics, if a function is discontinuous, then it's just the way the universe works, and the numbers inside the break are declared "forbidden". Remember, kids, searching for causes is heresy! We can't ever really know how things "really are" and it is pointless to ask the question, so fire up your probability calculations and resign to the fact that answers between 65535 and 100000 must forever remain undetermined.

  167. Perplexing! by tcgroat · · Score: 1

    Here's my question: why is the maximum 16 bit unsigned value significant in the first place? Excel runs under Windows, and Windows runs on 32 bit processors. It seems improbable that new code would have bugs like this. Did they link in old 16 bit functions by mistake?

  168. Python breaks too by Anonymous Coward · · Score: 0

    Python doesn't return the correct value either:

    >>> 850*77.1
    65534.999999999993

    Great language you got there guys.

  169. Compulsory by Whiteox · · Score: 1

    Imagine a Beowulf Cluster running Excel 2007!
    I for one, welcome our Excel 2007 bug Overlords!
    Does it run Linux?
    In Russia Excel 2007 bugs YOU!
    umm.... Is that it?

    --
    Don't be apathetic. Procrastinate!
    1. Re:Compulsory by DrLov3 · · Score: 0

      Imagine a Beowulf Cluster running Excel 2007! -> Excel would not run faster as it is not optimized for multi-threading, remember in computer science class, unless your app. is programmed with multi-threading in mind your Quad-core speed looks like 3000MHZ * 4 = 3000MHZ
      I for one, welcome our Excel 2007 bug Overlords! -> I for one don't welcome M$.
      Does it run Linux? ->No!, Excel is not a emulator base for OSs.
      In Russia Excel 2007 bugs YOU! ->The only thing I can reply is : Stop playing Fallout or any other post-apocalyptic game... Go live in russia, you'll get the feeling of being there :)
      umm.... Is that it? ->Yes!

    2. Re:Compulsory by Whiteox · · Score: 1

      Thank you for bringing some sense of reality to my /.ed brain.
      I've been here for too long.....

      --
      Don't be apathetic. Procrastinate!
  170. Power of Java by Anonymous Coward · · Score: 0

    Haha, Microsoft must be using the Java libraries for math functions. Not IEEE compliant, and broken, much like Java itself.

    Seriously, what can we expect from a bunch of code monkeys.

    1. Re:Power of Java by Ilgaz · · Score: 1

      Haha, Microsoft must be using the Java libraries for math functions. Not IEEE compliant, and broken, much like Java itself.

      Seriously, what can we expect from a bunch of code monkeys. Wow, so those mainframes used on banks running J2EE are doing all calculations wrong.

      Man, hate Java or troll but really try to make a minimum sense OK?

  171. mod parent up! by Anonymous Coward · · Score: 0

    Mod parent up! Not EVERYTHING is a conspiracy!

    1. Re:mod parent up! by Anonymous Coward · · Score: 2, Funny

      Not a conspiracy! Ha! Who do you think came up with IEEE 754?! Hint: It certainly wasn't Linus Torvalds or Steve Jobs!

  172. Excel 2007 for contractors by ekimminau · · Score: 1

    I need to make sure I bill in minutes and charge $77.10 for each. Come on lucky 850! Come on lucky 850!

    --
    Armaments, 2-9-21 And Saint Attila raised the hand grenade up on high, saying, 'O Lord, bless this Thy hand grenade' N
  173. Pido libro de reclamaciones por daños. by Anonymous Coward · · Score: 0

    65535 is not a prime number.

    Demonstration:

    65535 = 850*77.1

    65535 = 85*771

    65535 = 85*257*3

    65535 = 17*5*257*3

    Call to 1 75 25 73 and you will get an answer to your problems :)

    1. Re:Pido libro de reclamaciones por daños. by Anonymous Coward · · Score: 0
      Is more dangerous excel-2007-bug than Y2K-bug?

      65'535 is 0'FFFF at base-2 but not 100'000 at base 2.

      10'000 at base-2 is 65'536 but it is not 65'535 and not 100'000 at base-2.

      100'000 at base-2 is 1'048'576.

      100'000 is not new, is not a bug, is not a feature, it's invented maliciously.

      Is malicious the software of Microsoft?

      Is malicious the Microsoft company?

      Do you remember the 666 code in the software of Microsoft?

      IF (iResult == 65535) THEN iResult := 100000 END ; # And Fuck You And To All The World!!!
    2. Re:Pido libro de reclamaciones por daños. by jandrese · · Score: 5, Funny

      Wow, that was a lot of work to demonstrate that a number ending in a 5 isn't prime.

      --

      I read the internet for the articles.
    3. Re:Pido libro de reclamaciones por daños. by dwarfking · · Score: 1

      My first thought was internally they are not doing real floating point math, but multi-precision integer math or some flavor of BCD. Since this is a magic number for 32bit integers, it would seem the multi-precision integer functions might have an issue.

    4. Re:Pido libro de reclamaciones por daños. by lordtoran · · Score: 1

      I also demonstrates that the GP thinks one can generate prime numbers using an integer overflow.

      --
      Want to hear the voice of GOD? cat /boot/vmlinuz > /dev/dsp
    5. Re:Pido libro de reclamaciones por daños. by Impy+the+Impiuos+Imp · · Score: 1

      That the wrong result is 100,000 even is mighty suspicious, too.

      I wonder if, internally, different chunks of code are fighting over whether to truly convert to floating point or not. Something sees "77.1" and says, "sure!", while another says, wait, if we multiply it out, it is not really a floating point.

      --
      (-1: Post disagrees with my already-settled worldview) is not a valid mod option.
    6. Re:Pido libro de reclamaciones por daños. by Impy+the+Impiuos+Imp · · Score: 1

      Are you suggesting he'll never be one of those math wizards who can perform seemingly mysterous feats of calculation in their heads?

      Jeebus H. Christ! You determined 65535 wasn't prime in a fraction of a second. My Gott in Himmel.

      --
      (-1: Post disagrees with my already-settled worldview) is not a valid mod option.
    7. Re:Pido libro de reclamaciones por daños. by einhverfr · · Score: 1

      But is 065535 (octal) prime? What about 0x65535?

      --

      LedgerSMB: Open source Accounting/ERP
    8. Re:Pido libro de reclamaciones por daños. by QuietObserver · · Score: 1

      Neither is prime; 65535 in octal is 27485, a multiple of five, and 65535 hex is 415029, a multiple of three. I really wish some of the old 6502 representation of Base-n numbers were still used; the hex value you asked is $65535, but I'm not sure about the octal, however, as it's been a very long time.

    9. Re:Pido libro de reclamaciones por daños. by Trogre · · Score: 1

      5 ends in a 5.

      QED

      --
      "Nine times out of ten, starting a fire is not the best way to solve the problem." - my wife
  174. OOXML by jgoemat · · Score: 1

    I believe this specific feature is on page 4,357 of the Microsoft OOXML spec, paragraph 2. Anyone that implements the OOXML spec must calculate the same way.

  175. What am I doing wrong? by Captain_Chaos · · Score: 1

    Fired up Excel 2003. Typed in to A1: "=850*77,1". Got 65535. What am I doing wrong?

    1. Re:What am I doing wrong? by Rolgar · · Score: 1

      The error is only in Excel 2007? (Check Slashdot title.)

  176. Well floats suck in general by Anonymous Coward · · Score: 0

    You show me how to represent 0.1 with perfect accuracy in floating point, and I'll write you a new spreadsheet app that doesn't need to fudge numbers.

    1. Re:Well floats suck in general by Anonymous Coward · · Score: 0

      7410000000?

    2. Re:Well floats suck in general by Doctor+Faustus · · Score: 1

      You show me how to represent 0.1 with perfect accuracy in floating point, and I'll write you a new spreadsheet app that doesn't need to fudge numbers.
      It's easy as long as you don't insist on using the wrong base. Microsoft has a 96-bit decimal floating point type (32 bit exponent, 64 bit mantissa) in .Net (and I think SQL Server) that wouldn't have that problem; as long as Excel displays numbers as decimal, it should be computing them as decimal.

  177. Duh by Captain_Chaos · · Score: 1

    Fired up Excel 2003. Typed in to A1: "=850*77,1". Got 65535. What am I doing wrong?

    2003 != 2007

    Note to self: learn to read.

  178. Remove SIMD instructions!!! by Anonymous Coward · · Score: 0

    You has a lighweight Pentium-M without MMX/SSE instructions!!!

    The SIMD instructions are useless in internetworkings and javas!!!

    1. Re:Remove SIMD instructions!!! by cskrat · · Score: 1

      Why does this reply make me think of lolcats?

      --
      My God! It's full of eval()'s.
  179. Oh ess ten point four by AlpineR · · Score: 1

    I don't agree with the nomenclature used in the Wikipedia article. I believe Tiger is properly written "OS X 10.4" not "OS X v10.4".

    It's true that the "X" and the "10" are redundant, so in conversation I would say "Oh ess ten point four" or "Tiger". It's just one of those cases where how you spell something and how you pronounce it are a little different.

    I don't expect Apple to release OS 11.0 anytime soon. That would imply a huge change from the 10.x series, at least as big as X from 9. If they do maybe they'll do a play on Roman numerals and Greek letters and call it OS , OS or OS Xi. (Damn that's hard to make work in HTML.)

    1. Re:Oh ess ten point four by Mister+Whirly · · Score: 1

      "It's true that the "X" and the "10" are redundant"

      And don't even get me started on those Apple employees who enter their PIN number wrong at the ATM machine!


      (If you don't get it, read it again looking for redundant redundancy....)

      --
      "But this one goes to 11!"
    2. Re:Oh ess ten point four by Anonymous Coward · · Score: 0

      Please RSVP.

    3. Re:Oh ess ten point four by John+Meacham · · Score: 1

      Want odd, see sun's numbering?

      SunOS 5.6 = Solaris 2.6 = Solaris 6

      depending on who you talk to. (Solaris 2.6 was never officially called Solaris 6 by the company, but it is often retconed as such to follow the Solaris 7, Solaris 8, pattern..)

      of course, the only true name is what 'uname' returns. SunOS 5.6. Likewise, the only true ticker for sun is what is embedded in all its package names SUNW.

      Sun's marketing dept sure seems to be a one trick pony, and a pretty crappy trick at that.

      --
      http://notanumber.net/
    4. Re:Oh ess ten point four by Renig · · Score: 0

      Hey, dont forget Java as well... Java 1.6 = Java 6?

  180. Works fine for me by griffjon · · Score: 1

    But I'm using a first gen Pentium 1, I guess they cancel each other out?

    (joking)

    --
    Returned Peace Corps IT Volunteer
  181. Round() is your friend by Guil+Rarey · · Score: 1

    Because I'm an accountant, whether I want to or not, I've had to become fairly expert in Excel. The "currency" data type from excel is supposed to prevent this. I don't believe it, and haven't tried it. Excel likes to do too much sneaky polymorphic data manipulation unless you nail absolutely everything to the floor for any reliance on data-typing IN THE SPREADSHEET to be reliable. VBA code might theoretically be different, but there are whole boatloads of other reasons why it's a dumb idea there.

    However, wrapping your calculation in round() will solve your problem. As others have said, this is a floating-point thing, not an evil-Microsoft thing. Instead of your bare formula, use =round([formula],[digits 'o precision]). Hey presto, no more floating point problems.

    --
    Do not taunt Happy Fun Ball
    1. Re:Round() is your friend by fritsd · · Score: 1

      Round() or ceiling()? ;-)

      --
      To be, or not to be: isn't that quite logical, Slashdot Beta?
  182. Re:Microsoft Excel is the Worst Part of Office 200 by wwahammy · · Score: 1

    If Excel is bluescreening your machine you have problems that go far beyond office. I assume you're using XP in this case. Either you have a MAJOR problem with your Windows install, you have a bad driver or your hardware is failing. Take your pick.

  183. Just a minor bug by Anonymous Coward · · Score: 0
    This bug is the least of Excel 2007's worries.


    Try using Microsofts print to PDF functionality with a serious workbook (50+ pages of graphs, etc) or creating rather complex models using VBA + multiple workbooks and Excel 2007 breaks down in an impressive fashion.


    My company has gone to having Excel 2003 and 2007 installed on our PCs for various purposes. We need 2007's advanced OLAP pivottable connections to download and upload data to/from our models, but we need 2003 to actually calculate the model. Microsoft has acknowledged that our calculation issue is a bug and they are "working on it". And have been since March...

  184. 1983? That's nothing... by dpbsmith · · Score: 1

    I'll bet that even this machine would have gotten it right.

  185. Re:Microsoft Excel is the Worst Part of Office 200 by wwahammy · · Score: 1

    I would honestly be really surprised if Excel used undocumented APIs. That would be inviting a lawsuit. Anyways Microsoft doesn't exactly hide when they do such things (IE, Windows Media Player, Search) because they don't see a problem with them.

  186. MS will fix it in the next OOXML revision: by lordtoran · · Score: 1

    BorkedMultiplicationLikeInExcel2007

    --
    Want to hear the voice of GOD? cat /boot/vmlinuz > /dev/dsp
  187. Sales figures by Wowsers · · Score: 1

    Perhaps this is the way to get fabulous Vista sales figures?

    --
    Take Nobody's Word For It.
  188. MOD PARENT UP by zooblethorpe · · Score: 1

    Let me say it again for good measure.

    Do not use floating point for financial calculations. Doing so is always a bug.
    --
    "What in the name of Fats Waller is that?"
    "A four-foot prune."
  189. Re:Not all formulas resulting in 65535 display wro by Whiteox · · Score: 1

    That sounds like it's not a programming bug, but more of a logic bug instead.

    --
    Don't be apathetic. Procrastinate!
  190. In the beginning, there was the WORD... by Anonymous Coward · · Score: 0

    I think Leasburg, MO (zip code 65535) should sue MS for defamation of character.

    These are good, down to earth people who do know how to add, dammit!

    http://en.wikipedia.org/wiki/Leasburg,_Missouri

  191. not really by biscon · · Score: 1

    WORD size is dependent on architure.. On my 32 bit laptop a word is 32 bit.
    and 65535 isn't a word. It is just the largest unsigned integer you can represent with 16 bit.

  192. The reason it was named "Windows 95" by Solandri · · Score: 3, Informative

    For those who don't remember, the reason for the "95" name was likely because Windows "Chicago" kept getting delayed. Eventually Gates announced it was going to be released under the name "Windows 95". Speculation was that the name was chosen to pressure the development team to get it released in 1995 instead of letting it slip to 1996. They released it in late summer 1995, arguably too soon.

    1. Re:The reason it was named "Windows 95" by Shotgun · · Score: 2, Informative

      No. There was a push on to rename releases by year number. Microsoft's push to make the OS a service instead of a product. There was to be a release every year. Microsoft has been searching for a way to keep users buying the same product over and over for years, and this was just one iteration of that search.

      Some of the Microsoft pawned Ziff-Davis writers went on record touting this as the next big wave to save us all.

      --
      Aah, change is good. -- Rafiki
      Yeah, but it ain't easy. -- Simba
  193. MOD PARENT "SCARY" by zooblethorpe · · Score: 1

    Where are the more creative modpoint options when you need them...

    And don't forget, kiddies, big important people have been known to select Windows software to do such things as run naval destroyers. So outfit your bunker, pop open a beer, and sit back to watch the show!

    < ...shudder... />

    --
    "What in the name of Fats Waller is that?"
    "A four-foot prune."
  194. someone needs to get to sci.math... by lemon031 · · Score: 0

    ...and bring this to JSH's attention. after all, he was able to solve FLT so easily - he should be able to figure out the details of this for MS in no time.

  195. Bzzt! by jbeaupre · · Score: 1

    Since when is there scientific math vs all other math? I must have been out when they explained math segregation while studying for my mathematics degree. I do recall something about economics and buying the cheapest product that meets a need. Don't recall scientific being an independent variable there either.

    --
    The world is made by those who show up for the job.
  196. Re:obviously malicious by Alsee · · Score: 1

    Any malice distinguishable from incompetence is insufficiently advanced.

    -

    --
    - - You can't take something off the Internet! That's like trying to take pee out of a swimming pool.
  197. Well... by Xenographic · · Score: 1

    I misread the newsgroup and thought that the message saying "2003 too" was saying that it had the bug, not seeing that it was a response to a message saying that Excel 2000 *did* work.

    FWIW, it may be related to this old bug.

  198. OpenOffice.org can calculuate 850*77.1 by dwheeler · · Score: 1

    I just entered =850*77.1 into OpenOffice.org, and it gets the correct answer. It's rediculous that a freely-available program can get basic calculations correct, and Excel can't.

    --
    - David A. Wheeler (see my Secure Programming HOWTO)
    1. Re:OpenOffice.org can calculuate 850*77.1 by thommym · · Score: 1

      Why ridiculous? There are probably put as much money behind OOo/StarOffice as ever on MS-Office. Only they have cleverer programmers at Sun.

      --
      Don't feed the penguins
  199. Not Fair! by PPH · · Score: 1
    Comparing Microsoft's response to open source products.

    Microsoft: "We are aware of this bug and have promoted it to the highest priority in our maintenance database.....which we keep in Excel....(Oh crap!)."

    --
    Have gnu, will travel.
  200. What are the scenarios? by RomulusNR · · Score: 1

    Why doesn't it do this with, for example, =65535*1, =131070*0.5, or =32768*2-1 ?

    --
    Terrorists can attack freedom, but only Congress can destroy it.
  201. Pentium by Nom+du+Keyboard · · Score: 1

    And what happens when you run it on a Pentium with the FDIV bug?

    --
    "It's the height of ridiculousness to say for those 9 lines you get hundreds of millions."
  202. Not surprising... by C10H14N2 · · Score: 1


    Since in Excel 2002 at least, DEC2BIN can only handle 9-bits, so anything over 511 borks to #NUM! and BIN2DEC(1111111111) returns -1.

    WTF?

  203. Re:Yes, 2007 was dumped on Universities. by Anonymous Coward · · Score: 0

    I've heard stories of the same kind

    I've heard stories of the same kind too - in your previous comments.
    This is the same shit you post all the time to slashdot.

    Please, shut the fuck up.
  204. Excell - just another bug by synthespian · · Score: 1

    Excell has had multple bugs throughout the years. Some flaws have been pointed out by the statistics community in some papers and online publications. Issues in umercal stability and random number generation, for instance.

    What's particularly troublesome is that some medical doctors and other members of the health community/industry actually use Excell (although, it has to be said, those not particularly well-acquainted with statistics). OTOH, you;d be hard pressed to find any professional statistician using Excell on any data.

    Some people just assume that if Microsoft's behind the product, expertise is garanteed. Which, as we know from the MS track record in their main area - operating systems - is simply not true.

    But a multiplication bug tops it all!

    --
    Main difference between the BSD license and the GPL license: one is from California and the other is from Massachusetts
  205. Re:It only gets worse...or better by AliasMarlowe · · Score: 1

    6 * 9 = 42
    What's your point? 6*9=42 (in base 13...)
    --
    Those who can make you believe absurdities can make you commit atrocities. - Voltaire
  206. reminds me... by Anonymous Coward · · Score: 0

    100,000 should be enough for everyone!

  207. Guess who will be offering a downgrade... by Anonymous Coward · · Score: 0

    To Microsoft(tm) excel(tm) 2005(tm)?

  208. Nothing wrong with perl... by SanityInAnarchy · · Score: 1

    I would say perl or python. Learn ruby to learn its elegance, but stay away, the performance is probably too high a price, and once you get to know it, it's just as quirky as the other two.

    Or really anything...

    Here's why PHP is for idiots: It started out as a language for people who knew HTML, and wanted to add a little server-side stuff, without learning a server-side programming language. So they learned to sprinkle things like this:

    <ul>
    <?php for ($i=0; $i<10; $i++) { ?>
    <li> Value of i is <?php print $i ?>.</li>
    <?php } ?>
    </ul>


    throughout their websites. All kinds of things -- hit counters, etc. Webcomics are another great target for PHP -- basically, you write an HTML template page, and just add a few little php tags for things like the img source, and if you're very clever, to pull a comment from a database.

    Basically, PHP was meant to be embedded in HTML pages, not to be a full-fledged language in its own right. It also looks like it was meant to feel like Perl.

    But, they added more and more features, and people, more and more, began to realize that separating logic from content from presentation is a good idea, so sprinkling PHP tags throughout your HTML isn't the way to go. So there are now plenty of .php files that contain almost no HTML, and are essentially one gigantic php tag. It's become more the other way around -- you can embed HTML in your PHP, if you need to.

    That is the one strength of PHP. Well, one of several. Another, for example, is taking the results of a form submission and making them local variables -- which is a fucking huge security hazard, and no serious PHP programmers have that turned on anymore.

    As a language, they basically took some Perl syntax and made a language that is otherwise somewhere between C and Java in terms of functionality. It has object-orientedness, but only in the most recent version, and it's broken as hell. I'm not sure if they even have function pointers, or pointers at all. It's all the functionality of Visual Basic, but with the clean, easy to use syntax of Perl!

    It is possible to write amazingly good programs in PHP, but that's despite the language, not because of it. PHP offers absolutely no advantage over any other scripting language, except that it's installed by default. Even the ability to embed HTML in PHP (or vice versa) isn't new -- you can embed Perl in HTML with special server-side extensions, but even standard Perl makes it easy to print super-huge, free-form strings, so if you really want to, you can stick HTML into your Perl.

    Which means the only advantage of PHP is its ubiquity. So it's kind of like Windows or Visual Basic in that respect, but if you have the freedom to choose your environment, you'd have to be an idiot to start with PHP. The only reason I can see choosing it is legacy -- for example, if you have a project that was always PHP, and you don't have the time to rewrite it, or if you want to start with Drupal or something.

    --
    Don't thank God, thank a doctor!
  209. Use right tool for the job, not the most common by Anonymous Coward · · Score: 0

    To answer your question:

    The "scientific" (more like engineering) math packages are tested for numerical accuracy and designed for it *from the start*.

    You have chosen, instead of those, to use a cheapie (hey, it's bundled, so it's "free to me"!) product from a company that is renowned for quality problems. Numerical accuracy is not a core part of the design and testing of Excel, to judge from the reported problems over the years.

    Cheap has its price... but if you really wanted cheap, you could have gone for the various FREE numerical software packages.

    Just admit that the real reason you chose Excel is because you are lazy. Most people are.

    1. Re:Use right tool for the job, not the most common by ross.w · · Score: 1

      Oh please.

      I use Excel for hydraulic calculations. Yes Excel has accuracy limitations at about the 7th decimal place. Engineering calculations are rarely done to this level of accuracy.

      If you a sending probes to the moon and planets, yes you need more accuracy, but for my needs, the ripple on the surface of the channel or the additional friction from the slime on the wall of the pipe is many orders of magnitude larger than any inaccuracy introduced by a spreadsheet.

      --
      If my call is important, why am I talking to a recording?
  210. A mix of numbers evalute to 65535 or 100000 by _mythdraug_ · · Score: 1

    65535 in A1
    1 to 65535 in B
    D[foo] = A1 / B[foo]
    E[foo] = B[foo] * D[foo]

    Many rows have a value of 100000.

    13,26,49,52,81,87,93,98,104,107,115,117,118,123,162,169,173,174,186,196,...

  211. I do not see the problem by grrrgrrr · · Score: 1

    I think m$ just need to create a new multiplication standard. An ISO standardisation process and some kickbacks is all it takes. I tell you next year we will all be doing multiplication this way.

  212. Re:obviously malicious by Anonymous Coward · · Score: 0

    Did I say value, or did I say cost? I'm pretty sure I only said one of them. You'll have to find some esoteric method of figuring out which, though, since you apparently can't fucking read.

  213. Microsoft has always had an issue with math! by Anonymous Coward · · Score: 0

    Remember "Microsoft Multiplan"?

    From a posting I made a while back for the TI-99 version...

    I finally found the Multiplan Bug I mentioned months (years?) ago...
    It is located on the wht ftp site under "/datasheets/Official TI
    addenda and data sheets", "Multiplan addenda.max".

    The bug affects the SQRT function.
    "If a square root is taken of a number less than one AND contains an
    odd number of zeros before the first significant digit (i.e. 0.01,
    0.000123), Microsoft Multiplan will calculate the square root
    incorrectly by a factor of ten. Currently SQRT(0.01) is calculated as
    1.0 and SQRT(0.000123) is calculated as 0.110905."...

    It goes on to give an ugly work-around.
    My version when tested had this bug. Has it been fixed in later
    versions (RAG, 80 column, TI patched, etc)?
    And does this bug exist in Multiplan on other platforms?
    It is evident by this bug that Microsoft does not use the built-in
    floating point routines in the 99/4A, esp. the square-root GPL
    routine which does not have this problem. Also, I seem to remember
    the number of significant digits differ between MP and the TI
    routines.

  214. How to make a killing with this by ciaran.mchale · · Score: 1

    1. Buy shares in a stock
    2. Pump up the share price to $65.535
    3. Immediately sell shares at $100.000
    4. Profit!

  215. Does it matter? It's not like you can fix it. by jbn-o · · Score: 1

    I'm not sure that I care where Microsoft Excel fails and where it doesn't when it comes to discovering the pattern of failure. If I were a Microsoft Excel user I wouldn't be allowed to inspect the program to see what it's really doing with my data, fix the program (no matter how expert a programmer I may be), alter the program (in violation of the license), or help my community by sharing my improved version of Excel. Then there's the hypocrisy of how proprietors (also known as monopolists) are treated compared to free software developers and distributors—knowing that the program fails where it shouldn't would be enough for people to cry foul and either stop using or never start using a free software program that exhibited such a bug. We rarely hear serious discussions of one's software freedom. Instead, we're encouraged to push that discussion aside in favor of exclusively stressing technocratic ends. Not hearing cries of "Dump Microsoft Excel Now!" or something calling for a switch to a free software spreadsheet (like Gnumeric or OpenOffice.org's Calc) is saddening. Please take this opportunity to learn more about software freedom.

  216. Market share by akalaniz · · Score: 0, Troll

    So, the market share of Linsux users seems to be about 572 or so, and you "winners" clearly know how to spend your weekends. Have you ever kissed a girl?

    Alex

  217. interesting by mep321 · · Score: 2

    more about 65535

  218. RIAA use Microsoft? by Anonymous Coward · · Score: 0

    I always wondered how the RIAA got it's strange and obscure figures...

  219. Client Testimonial by Anonymous Coward · · Score: 0

    Our profit increased by 52.59%, thanks to Micro$oft Office 2oo7!

  220. It's already been fixed by Thundersnatch · · Score: 1

    This bug does not appear in Excel 2003 Service Pack 3, which was released a few weeks ago. That build number is 11.8169.8172.

    1. Re:It's already been fixed by SEMW · · Score: 1

      It's already been fixed This bug does not appear in Excel 2003 Service Pack 3, which was released a few weeks ago. No.

      It hasn't.

      It doesn't appear in Excel 2003 SP3 because it's never appeared in Office 2003 because it's an Office 2007 bug.

      Hence the story title. You know, "Excel 2007 multiplication bug".

      Duh.
      --
      What's purple and commutes? An Abelian grape.
  221. Maybe it's just multiplication. by QuietObserver · · Score: 1

    Try 4369 * 15 (which should equal 65535).

  222. Miscrosoft again by defuse3388 · · Score: 1

    I think MS loves such things as they provide a good publicity to them ;) Nothing comes perfect in this world, after all the world is to achieve the perfection.

    --
    Complete Web Hosting Solutions at eUKhost.com