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

 



Forgot your password?
typodupeerror
×

Comment Re: Have these people never heard of IEEE754???? (Score 1) 240

In the cast of the boost-interval library, the link I posted has a very clear warning about that; so I don't understand why that quote is relevant here. This warning shows that "floating point is hard" and that is MORE reason to be careful with your intervals!

Warning! Guaranteed interval arithmetic for native floating-point format is not supported on every combination of processor, operating system, and compiler. This is a list of systems known to work correctly when using interval and interval with basic arithmetic operators.

x86-like hardware is supported by the library with GCC, Visual C++ 7.1, Intel compiler ( 8 on Windows), CodeWarrior ( 9), as long as the traditional x87 floating-point unit is used for floating-point computations (no -mfpmath=sse2 support).
Sparc hardware is supported with GCC and Sun compiler.
PowerPC hardware is supported with GCC and CodeWarrior, when floating-point computations are not done with the Altivec unit.
Alpha hardware is supported with GCC, except maybe for the square root. The options -mfp-rounding-mode=d -mieee have to be used.
The previous list is not exhaustive. And even if a system does not provide guaranteed computations for hardware floating-point types, the interval library is still usable with user-defined types and for doing box arithmetic.

Comment Re: Have these people never heard of IEEE754???? (Score 3, Interesting) 240

Good points - in fact in this case one can say that ALL of the calculations done by the different computer architectures are in fact wrong. to varying degrees When doing floating point math without rounding analysis being done then all bets are off. Measurements always have accuracies, and floating point math also adds it's own inaccuracies.

The Boost library can help: http://www.boost.org/doc/libs/1_54_0/libs/numeric/interval/doc/interval.htm

Of course all this extra interval management costs in terms of development and performance. But what is the cost of having supercomputers coming up with answers with unknown accuracy?

Comment Re:Go where? (Score 2) 231

Also, the Xilinx FPGA design tools are only officially supported on RHEL. While I run Xilinx tools (and Impact JTAG programmer) with patched drivers, if I ever run into a problem they would look at the log file and refuse to help if they see that I am not running the supported RHEL.

Comment Re:This is borderline ridiculous (Score 2) 311

No, really, it is Steve Job's fault - personally - that since the devices are loved so much by users, the re-sale black market price is high allowing big profits for people who steal them. If ONLY Steve Job made the products lousy, no one would pay for them! and no one would steal them!

Uh.... I wonder if the criminals DON'T steal the Android phones?

Criminal: "Give me your iPhone!"

Geek: "I have an Android phone!"

Criminal: "Darn, ok you can keep your Android."

???

Comment Re:Holy slanted summary, Batman! (Score 1) 476

Good points. So the issue is really with the GPL license enforceability....

I wonder if the same issues are at hand with GCCXML : http://www.gccxml.org/HTML/Index.html

One could make a library that just spawns a sub-process running GCCXML, then grab the result and pass the appropriate parts of the parse tree to the caller.

No linking involved, no GPL violations either.

Slashdot Top Deals

God help those who do not help themselves. -- Wilson Mizner

Working...