Become a fan of Slashdot on Facebook


Forgot your password?
DEAL: For $25 - Add A Second Phone Number To Your Smartphone for life! Use promo code SLASHDOT25. Also, Slashdot's Facebook page has a chat bot now. Message it for stories and more. Check out the new SourceForge HTML5 internet speed test! ×

Comment Re:Here we go again (Score 1) 52

Failure is generally a necessary part of the process of innovation. As long as we take valuable lessons away, we should not be afraid of or ashamed of failure. If we simply gave up every time we failed at something or didn't try unless we were 100% sure we wouldn't fail, we'd never get anywhere in science and technology.

Comment The Makings of a Speech? (Score 1) 95

I believe that hackerdom should commit itself to achieving the goal, before the next three decades are out, of landing a hacker on the moon and returning him safely to the Earth. We choose to go to the moon. We choose to go to the moon in 2034 and do the other things, not because they are easy, but because we p0wn...

Submission + - Poll: Best Martial Arts Actor

lenmaster writes: The best martial arts actor of all time is:

* Bruce Lee
* Chuck Norris
* Jet Li
* Michelle Yeoh
* Jackie Chan

Comment Re:strictfp (Score 1) 359

Strictfp gives you more repeatability but less performance and generally less accuracy.

strictfp can actually improve performance, depending on the CPU architecture and Java implementation. Think about it. If variables are stored in IEEE format and a different format is used for intermediate calculations, then there is converting going on and that takes time.

The difference in accuracy is not significant in any practical sense. The IEEE formats were designed so as to divy the bits up between the exponent and the significand in a way that works for nearly every application.

Its worth it for a Java developer to be aware of strictfp. We have all been sold on the slogan, "Write Once, Run Anywhere", but it really should be "Write Once, Run Anywhere...But Get Slightly Different Floating Point Results Unless You Use strictfp".

Slashdot Top Deals

The only perfect science is hind-sight.