You are here: Re: Strange inconsistences when repeating a query more than twice in a row « PHP Programming Language « IT news, forums, messages
Re: Strange inconsistences when repeating a query more than twice in a row

Posted by Nicholas Sherlock on 05/11/05 07:53

Wescotte wrote:
> So why does it correct find results the first two times? I understand
> the concept of being unable to exactly represent a real number in
> binary do to limited bits but I fail to see how after two attempts
> conversion would suddenly differ.

The floating point control word of the CPU may be changed by code in one
part of your database server, then never reset. This means that the
rounding mode may change unpredictably, causing different results on
different runs. This is a bug, IMO.

Cheers,
Nicholas Sherlock

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация