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

 



Forgot your password?
typodupeerror
×

Comment Natural light (Score 1) 286

So I guess that means window-less airplanes won't have any natural light.
This is more of a problem than lack of a view.

Staying 20 hours seated in a plane, waiting, is painful enough as it is, lack of natural light only makes it worse.
Remember that some people (me included) just cannot sleep during a flight.

Comment Re: Spiritual Needs (Score 1) 268

Social constructs that go beyond a single person's individuality are real; be them beliefs, philosophies or values.
Humans are social animals, and it is usually accepted that narcissistic individualism, which goes against this, makes it harder to reach happiness.

Comment Re: Spiritual Needs (Score 1) 268

If you believe that wanting to be part of something greater is juvenile, then I'm afraid you're being delusional and lack self-reflection.
My guess is that you're insecure about your own maturity, which in its itself is more juvenile that the natural human trait you're trying to deride.

Comment Re:Not news (Score 1) 239

It's commonly used by everyone using "long double" instead of "double" in their x86 code.

long double isn't even supported by all compilers that run on x86-64 (most notably MSVC++), and of course it's specific to those processors. With other processors, long double can mean something else entirely.
Anyone serious about floating point only uses the IEEE754 formats, and for scientific computing the only one used is double precision, though single precision is also popular as a way to get an estimate on which you can apply iterative refinement.

For example, if you want to write a function that calculates sqrt (x^2 + y^2) for double precision x and y, that's very very hard to get right using double precision only, but using long double in the calculation and rounding to double makes it trivial.

Just use a library that does it correctly. The function is called 'hypot'.
Using long double just makes it slow and non-portable.

Comment Not news (Score 1) 239

First, it's an x87 instruction. This unit has been deprecated for a decade.
Second, It was never meant to produce correct rounding for extended precision, and never claimed to. The documentation has always clearly stated 1 ULP of precision.

Apparently, some newbie doesn't understand what this means, and somehow it's a thing.

Slashdot Top Deals

Suggest you just sit there and wait till life gets easier.

Working...