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

 



Forgot your password?
typodupeerror
×

Comment Re:It's not that big of deal (Score 1) 334

No, there is one way to represent every number.

The mantissa doesn't state a "number", it is the decimal part of 1.xxxxx.

Say we have a 2 bit mantissa. The mantissa would thus describe the following numbers:
00 -> 1.00
01 -> 1.25
10 -> 1.5
11 -> 1.75

When we reach 2 we just increase the exponent instead, This gives the double representation a bigger range.

For very small numbers there is also a "subnormal" representation in the IEEE standard. This is when the exponent reaches the "smallest" possible value. At this point the mantissa bits represents numbers from "2" to "0" with the smallest exponent.

If i'm not off my hat right now this is why setting all the bits of a float or double will actually produce a 0, lowest exponent, -> subnormals = actual 0 and no sign(irrelevant in the case of floating point numbers though)

Comment Re:One person's myth is another person's fact. (Score 1) 580

Could you give a reference on this? Partial register stalls on al->ax->eax writing is kinda obvious but this would only apply if you read after a partial write, doing a full register write would remove any partial stalls.

In an analogy to that the partial writing of a the flags shouldn't matter unless you depend on it from an immediate flag reading instruction like a conditional branch or treating flags like numbers (ie pushf,etc). Especially since a shift would likely to be followed by a compare the shifts flag state is irrelevant for the one who reads the flags as it has been overwritten.
BSD

DragonFly 2.4 Released 73

electrostaticcarrot writes "DragonFly — that fourth major BSD — has had its 2.4 release. The 'most invasive change' is the addition and usage of a DevFS for /dev; building on this, drives are now also recognized by serial number (along with /etc/devtab for aliases) as listed in /dev/serno. This is also the first release with a x86-64 ISO, stable but with limited pkgsrc support. Other larger changes include a ported and feature-extended (with full hotplug and port multiplier support) AHCI driver (and SILI driver based on it) originally taken from OpenBSD, major NFS changes, and HAMMER updates. A pkgsrc GIT mirror has also been set up and put in use to make future pkgsrc updates quicker and smoother. Here are two of the mirrors."

Comment Full circle (Score 1) 272

It's somewhat ironic that the ARM chipset and architecture was first created by a computer manufacturer that flopped, only to see the cpu architecture that was the offspring actually be the only architecture to ever gain at the expense of the X86 architecture that probably was the culprit of destroying acorn computers.

And with this happening and even more focus being shifted onto the web as being the platform independent delivery platform, it won't be Intel flirting with Apple and Linux that got MS onto the fast path to obscurity. But the availability of a ever so cheap platform, powered by a ghost from the past.

Comment Re:You can't be serious (Score 1) 292

For C/C++ eclipse isn't even in the same league as VS 6 (Edit-continue factors in HEAVILY in that :).

But i recently did a C# hack in VS(2005) and writing stuff in there felt very very crude compared to working with Java in eclipse, no refactoring and sync issues with the UI editor. Maybe 2008 fixed this.

Now consider all the other plugins available for Eclipse thanks to the plugin arch then i actually favour Eclipse for much work.

Comment Re:Sarcastic or not? (Score 1) 353

For somewhat travel and noisy environments (office,etc) i actually prefer a decent pair of rubber earbuds ("hard earbuds" just sucks) to most midlevel foamed headphones as they're far better at keeping out external sounds without breaking your eardrums.

Comment Re:Judge works for profitability of investment grp (Score 1) 40

I think the argument for this would be that since the shareholders did fire the board that made the deal the judge considers the act of signing the contract something done agains't the will of the owners/shareholders and has taken it upon himself to reverse this.

Think of it in another way, what if the CEO/Chairman of a listed company would transfer all the funds of that company into his own account. He did have authority to access the accounts, but the act itself would certainly be considered theft.

Quickies

Submission + - Physics Nobel Prize 2007

whizzter writes: The prize was awarded for the discovery of the Giant Magnetoresistive Effect, Peter Grünberg of the Jülich Research Centre and Albert Fert of the University of Paris-Sud that lead the research will receive the prize. During the presentation the Nobel committe stressed how the research had helped decreasing harddrive sizes. The discovery was also the birth of the spintronics field. More information on the prize can be found at the Nobel site.
Security

Submission + - Is your PC virus-free? Get it infected here!

Underholdning writes: "As part of an experiment security researcher Didier Stevens bought a Google ad six months ago that said, "Is your PC virus-free? Get it infected here!" 409 people clicked on the ad. Didier writes that during those six months, the ad was displayed 259,723 times and clicked on 409 times. 98% of the machines ran Windows. Now that's a pretty cheap way of acquiring zombies."

Slashdot Top Deals

"Little else matters than to write good code." -- Karl Lehenbauer

Working...