Want to read Slashdot from your mobile device? Point it at m.slashdot.org and keep reading!

 



Forgot your password?
typodupeerror
×
Software

Submission + - Excel 2007 Multiplies Oddly

dsmall writes: "Excel Thinks 65,535 = 100,000 Microsoft Working To Fix Spreadsheet Problems

POSTED: 12:42 pm EDT September 28, 2007

SEATTLE — Microsoft Corp.'s Excel 2007 spreadsheet program is going to have to relearn part of its multiplication table.

In a blog post, Microsoft employee David Gainer said that when computer users tried to get Excel 2007 to multiply some pairs of numbers and the result was 65,535, Excel would incorrectly display 100,000 as the answer.

Gainer said Excel makes mistakes multiplying 77.1 by 850, 10.2 by 6,425 and 20.4 by 3,212.5, but the program appears to be able to handle 16,383.75 times 4.

"Further testing showed a similar phenomenon with 65,536 as well," Gainer wrote Tuesday.

He said Excel was actually performing the calculations correctly, but when it comes time to show the answer on the screen, it messes up.

Gainer said the bug is limited to six numbers from 65,534.99999999995 to 65,535, and six numbers from 65,535.99999999995 to 65,536 and that Microsoft is working hard to fix the problem.

This short summary is Copyright 2007 by The Associated Press. All rights Reserved

==================================================================================



Here is the actual blog entry at http://blogs.msdn.com/excel/ :

Tuesday, September 25, 2007 6:51 PM Calculation Issue Update

Yesterday we were alerted to an issue in Excel 2007 (and Excel Services 2007) involving calculation of numbers around 65,535. The Excel team would like to provide a description of the issue and explain what we're doing about it.

Background Yesterday evening we were alerted to an issue in Excel 2007 (and Excel Services 2007) involving calculation of numbers around 65,535. The first example that we heard about was =77.1*850, but it became clear from our testing as well as additional reports that this was just one instance where Excel 2007 would return a value of 100,000 instead of 65,535. The majority of these additional reports were focused on multiplication (ex. =5.1*12850; =10.2*6425; =20.4*3212.5 ), but our testing showed that this really didn't have anything do to with multiplication — it manifested itself with many but not all calculations in Excel that should have resulted in 65,535 (=65535*1 and =16383.75*4 worked for instance). Further testing showed a similar phenomenon with 65,536 as well. This issue only exists in Excel 2007, not previous versions.

The Problem This issue was introduced when we were making changes to the Excel calculation logic in the Office 2007 time frame. Specifically, Excel incorrectly displays the result of a calculation in 12 very specific cases (outlined below). The key here is that the issue is actually not in the calculation itself (the result of the calculation stored in Excel's memory is correct), but only in the result that is shown in the sheet. Said another way, =850*77.1 will display an incorrect value, but if you then multiply the result by 2, you will get the correct answer (i.e. if A1 contains "=850*77.1", and A2 contains "=A1*2", A2 will return the correct answer of 131,070).

So what, specifically, are the values that cause this display problem? Of the 9.214*10^18 different floating point numbers (floating point on wikipedia) that Excel 2007 can store, there are 6 floating point numbers (using binary representation) between 65534.99999999995 and 65535, and 6 between 65535.99999999995 and 65536 that cause this problem. You can't actually enter these numbers into Excel directly (since Excel will round to 15 digits on entry), but any calculation returning one of those results will display this issue if the results of the calculation are displayed in a cell. All other calculation results are not affected.

The Solution We take calculation in Excel very seriously and we do everything we can in order to ensure that calculation is correct for all cases. We've come up with a fix for this issue and are in the final phases of a broad test pass in order to ensure that the fix works and doesn't introduce any additional issues — especially any other calculation issues. This fix then needs to make its way through our official build lab and onto a download site — which we expect to happen very soon. We'll add another post once that's taken place with a link to the download.

Posted by David Gainer | 159 Comments

=================================================================== Note (from Dave Small): In my testing with a small (non-Excel) calculator:

77.1 X 850 = 65535,
10.2 X 6,425 = 65535,
20.4 X 3,212.5 = 65535,
Of course, 65535 = $ FFFF = $1111 1111 1111 1111,
and, 65536 = $1 0000 = $0001 0000 0000 0000 0000
(I usually separate out the binary into hex digits for readability.)
The blog entry seems convinced that the problem is in floating point conversion. I find myself wondering if the programmers simply have a .Word 16-bit value and don't realize the significance of these numbers.
I do not have Excel 2007 and cannot test it, but it would certainly be interesting to check numbers around 32767 and 4 billion (e.g., a .Long full of 1's).
Thanks,

— Dave"
Music

Submission + - Radiohead offers "pay what you want" digit

SilentChris writes: Radiohead has announced that in 9 days they will be releasing their latest album through their website. The interesting part: you'll pay what you want. A physical version will be released in December for $82. No word yet on DRM, but given Radiohead's recent penchant for selling on MP3 sites, there's a good chance there won't be any. The best part: the record labels are completely uninvolved with this new venture.
The Courts

Submission + - SFLC files first U.S. GPL violation lawsuit (lwn.net)

FPCat writes: The Software Freedom Law Center has filed a GPL violation lawsuit. "The Software Freedom Law Center (SFLC) today announced that it has filed the first ever U.S. copyright infringement lawsuit based on a violation of the GNU General Public License (GPL) on behalf of its clients, two principal developers of BusyBox, against Monsoon Multimedia, Inc. BusyBox is a lightweight set of standard Unix utilities commonly used in embedded systems and is open source software licensed under GPL version 2."
Intel

Submission + - Intel Demos Core 2 Extreme QX9650, Benchmarks

MojoKid writes: Intel let a few members of the press get some hands-on time with their new 45nm quad-core processor, code-named Penryn today at IDF. Dual quad-core 3.4GHz processors were configured in a Seabird chipset-based dual socket system based on the Intel's Skulltrail platform, for a total of eight cores. The benchmark numbers look pretty sharp as does the system. The new Core 2 Extreme QX9650 was also on tap, clocking in at 3GHz with a full 12MB of on chip cache.

Daniel Lyons of Forbes Admits Being Snowed by SCO 403

certain death writes "Daniel Lyons of Forbes Magazine has admitted to being snowed by SCO, regarding their lawsuit over Linux and SCO code. He specifically mentions Groklaw's role in the case, and regrets his early articles giving the company the benefit of the doubt. 'I still thought it would be foolish to predict how this lawsuit (or any lawsuit) would play out. I even wrote an article called "Revenge of the Nerds," which poked fun at the pack of amateur sleuths who were following the case on a Web site called Groklaw and who claimed to know for sure that SCO was going to lose. Turns out those amateur sleuths were right. Now some of them are writing to me asking how I'd like my crow cooked, and where I'd like it delivered. Others in that highly partisan crowd have suggested that I wanted SCO to win, and even that I was paid off by SCO or Microsoft. Of course that's not true. I've told these folks it's not true. Hasn't stopped them. The truth, as is often the case, is far less exciting than the conspiracy theorists would like to believe. It is simply this: I got it wrong. The nerds got it right.'"
The Internet

Submission + - Americans giving up sex, friends, for Internet (arstechnica.com)

Bocanegra writes: A survey conducted by ad agency JWT shows that 20% of the respondents willingly give up sex (with other people, no less) in order to spend more time on the Internet. Another 28 percent spend less time with their friends in favor of surfing the web. In fact, the majority of those in the survey just can't bear to go without the Internet for very long. '15 percent of the group admitted to being weak-willed and said that they would only be able to last a day or less without feeling isolated and disconnected from the world. Another 21 percent didn't do much better, saying they could only go a couple of days, with 19 percent saying they could go "a few days." Only about 18 percent of the group said that they could go a week or more without being connected.'
The Internet

Submission + - MediaDefender Source Code Leaked (wired.com)

Pride Goes Before a Fall writes: It hasn't been a good week for the anti-P2P company MediaDefender. Fresh after the devastating leaks of their internal emails, their Gnutella tracking database, and their phone call with the New York Attorney General over an anti-child pornography project, now Wired reports that MediaDefender's source code is on the Pirate Bay for anyone to download. Given that MediaDefender joked about their own inability to put a dent in online copyright infringement, one wonders why companies trust these folks to fight copyright infringement when they can't even stop the torrent with their own worst secrets in it?
Microsoft

Submission + - US DoJ : EU antitrust ruling "hurts consumers&

An anonymous reader writes: The Assistant Attorney General for Antitrust (Thomas Barnett) criticized the EU's Court of First Instance's affirmation of the European Commission's finding that Microsoft violated EU antitrust law and stated that the settlement "...rather than helping consumers, may have the unfortunate consequence of harming consumers by chilling innovation and discouraging competition."

I'm sure that Barnett's history as a partner in a law firm representing corporate clients in antitrust litigation didn't factor into this statement.
Announcements

Submission + - Brian May Successfully Defends Thesis (msn.com)

DynaSoar writes: "Brian May http://en.wikipedia.org/wiki/Brian_May, lead guitarist for Queen http://en.wikipedia.org/wiki/Queen_(band) has successfully defended his astrophysics thesis at London's Imperial College http://www.msnbc.msn.com/id/20424659/. He still must resubmit his written thesis after making required corrections, but this is pro forma. He is to formally receive his doctorate in May 2008, nearly 40 years after turning from his studies to become a professional musician. The subject of his thesis, entitled "Radial Velocities in the Zodiacal Dust Cloud," is based on work he did in Tenerife in the 1960's. He has two prior scientific publications on this topic, in the Monthly Notices of the Royal Astronomical Society (166, 429 — 448 (1974)), and in Nature (240, 401 — 402 (15 December 1972))."
Microsoft

Submission + - India deals blow to Microsoft Office 2007 standard

Stony Stevenson writes: Microsoft has suffered a setback in its campaign to have the file format used by its new Office 2007 productivity suite accepted as an international standard under a fast track approval process.

India's Bureau of Indian Standards on Thursday withheld endorsement of Microsoft's Office Open XML format as a standard, indicating its preference for the existing Open Document Format. The decision means that India will not recommend to the International Organisation for Standardization (ISO) that OOXML be adopted as an international standard when the issue comes to a vote on September 2nd. More than 120 countries are expected to weigh in on whether the ISO gives OOXML fast track approval.
Biotech

Journal Journal: Novel Approach to Uncovering Genetic Components of Aging

People who live to 100 or more are known to have just as many--and sometimes even more--harmful gene variants compared with younger people. Now, scientists at the Albert Einstein College of Medicine of Yeshiva University have discovered the secret behind this paradox: favorable "longevity" genes that protect very old people from the bad genes' harmful effects. The novel method used by the researchers could lead to ne
Privacy

Submission + - New York taxi drivers to strike over GPS

Stony Stevenson writes: New York City taxi drivers are split on whether they should strike in opposition to a new GPS requirement. One taxi group plans to strike from 5 a.m., Sept. 5, through 5 a.m., Sept. 7, in opposition to New York City's requirement that all cabs be equipped with GPS technology beginning Oct. 1. The New York Taxi Workers Alliance, which claims more than 8,400 members, announced the strike dates this week, saying GPS infringes on drivers' privacy.

The Taxi and Limousine Commission passed a rule stating that all New York City cabs must have touch-screen display panels, credit card readers, and GPS beginning this year. Many taxis already are equipped with the technologies, which allow passengers to get news, route data, and other information. The TLC claims that the technology will not be used to invade drivers' privacy but will provide real-time maps and help passengers recover lost property.
Google

Journal Journal: Google phone in a fortnight?

Indian sources claim Google is two weeks away from announcing a new Google-branded mobile phone. An official release would come within a "fortnight" and would initially release the phone simultaneously in Europe and the US. http://www.electronista.com/articles/07/08/24/google.phone.in.fortnight/

HTC is rumoured to be producing the phones, which will not be carrier-locked.
MacCNN reports;

Slashdot Top Deals

This file will self-destruct in five minutes.

Working...