Hello Trevor, Tuesday, July 24, 2007, 4:49:28 PM, you wrote:
TT> On 7/24/07, JJ <[EMAIL PROTECTED]> wrote: >> Yes it were returning same number all the time, I've broke down calculations >> of UTC to Julian date type and saw significant floating point errors >> (rounding) in calculation, it couldn't hold such numbers and to me seemed to >> ignore double data type, but used float instead. (i've played through bunch >> of compiler settings, pragmas, etc with no significant gain). Actually tried >> my own calculation which operates with smaller numbers, but in the end when >> result should be stored, numbers got messed again. Damn, I didn't meant to >> spend 4 hours on this... TT> Hmm, that's worrying. >> I've abandoned msvc compiler and using trial intel compiler for now... No >> problems on new compiler with calculations.. TT> Would you be willing to post a small test case (or send to me TT> privately)? Along with the exact compiler version and CPU. I very TT> much want to figure out exactly what this problem is, since it's TT> supposed to work. TT> ----------------------------------------------------------------------------- TT> To unsubscribe, send email to [EMAIL PROTECTED] TT> ----------------------------------------------------------------------------- Have you played with the different floating point options in the compiler? In MSVC under floating point options you can specify "fast" or "precise". -- Best regards, Teg mailto:[EMAIL PROTECTED] ----------------------------------------------------------------------------- To unsubscribe, send email to [EMAIL PROTECTED] -----------------------------------------------------------------------------