Mark, you know, I'd *never* thought of that (using units small enough that you're not dealing with non-real portions) - that's brilliant! It should be obvious, too, to anyone who's had to deal with realtime transforms, too.
*files into "handy tips memebase"* >From: "Mark E. Zawadzki" <[EMAIL PROTECTED]> >Reply-To: "JDJList" <[EMAIL PROTECTED]> >To: "JDJList" <[EMAIL PROTECTED]> >Subject: [jdjlist] Re: Double multiplication >Date: Fri, 20 Sep 2002 04:51:17 -0700 (PDT) > >Agreed - and as a scientific programmer, a bit of advice - if you have a >lot of numbers to the >right of the decimal point - you are are most likely using the wrong units. >--- Joseph Ottinger <[EMAIL PROTECTED]> wrote: > > Why do I detect a "Java is slow" post in your future? :) As usual, when > > you're doing floating point on binary systems, you always have to figure >out > > if it's *really* important to have the precision... and usually, it >isn't. > > > > I'm sure at this point, people are finding woodwork to crawl out of >saying, > > "Yes, it is!" - and you're all correct, for you it's important because > > you're rocket scientists and all that, and maybe even a financial >programmer > > or two are finding graves to spin in as well. However... I'd still stand >by > > the statement that in most cases, the accuracy simply isn't important >enough > > to justify crippling your program's speed. It's all about the tradeoffs. >If > > it's all about what you SEE, then format the numbers going out instead. > > > > >From: "Ivan Bradac" <[EMAIL PROTECTED]> > > >Reply-To: "JDJList" <[EMAIL PROTECTED]> > > >To: "JDJList" <[EMAIL PROTECTED]> > > >Subject: [jdjlist] Re: Double multiplication > > >Date: Fri, 20 Sep 2002 09:34:01 +0200 > > > > > >Hi all > > > > > >thanks for all your answers. I will try to switch to BigDecimal. > > > > ----------------------------------------------- > > Joseph B. Ottinger [EMAIL PROTECTED] > > http://enigmastation.com IT Consultant > > > > _________________________________________________________________ > > Join the world�s largest e-mail service with MSN Hotmail. > > http://www.hotmail.com > > > > > > To change your JDJList options, please visit: >http://www.sys-con.com/java/list.cfm > > >===== > >Mark Zawadzki Performance Engineer/DBA/Programmer extraordinaire� >[EMAIL PROTECTED] [EMAIL PROTECTED] > > "Programming today is a race between software engineers striving to build >bigger and better idiot-proof programs, and the universe trying to build >bigger and better idiots. > >So far, the universe is winning" > > Robert Cringle (columnist, author, host of "Triumph of the Nerds") > > >__________________________________________________ >Do you Yahoo!? >New DSL Internet Access from SBC & Yahoo! >http://sbc.yahoo.com > >To change your JDJList options, please visit: >http://www.sys-con.com/java/list.cfm ----------------------------------------------- Joseph B. Ottinger [EMAIL PROTECTED] http://enigmastation.com IT Consultant _________________________________________________________________ Send and receive Hotmail on your mobile device: http://mobile.msn.com To change your JDJList options, please visit: http://www.sys-con.com/java/list.cfm
