Please create an account to participate in the Slashdot moderation system


Forgot your password?

Slashdot videos: Now with more Slashdot!

  • View

  • Discuss

  • Share

We've improved Slashdot's video section; now you can view our video interviews, product close-ups and site visits with all the usual Slashdot options to comment, share, etc. No more walled garden! It's a work in progress -- we hope you'll check it out (Learn more about the recent updates).


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

by lenmaster (#39118675) Attached to: Hackers In Space: Designing A Ground Station
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...

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".

Innovation is hard to schedule. -- Dan Fylstra