Skip site navigation (1) Skip section navigation (2)

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search for
  Advanced Search

Re: [PATCHES] [BUGS] BUG #2846: inconsistent and



Brian Hurt <bhurt(at)janestcapital(dot)com> writes:
> Note that taking a signal on an FP exception is a horribly expensive 
> proposition- we're talking about hundreds or thousands of clock cycles 
> here.  But it's probably worthwhile vr.s the cost of testing every 
> floating point result, as generally FP exceptions will be rare (probably 
> even more rare in database work than in general).  So it's probably 
> worthwhile.

I think we should probably stay away from relying on signals for this
on portability grounds.  The cost of checking the results is small, and
will get smaller if we eliminate or simplify CheckFloat[48]Val as is
being discussed here.

			regards, tom lane



Home | Main Index | Thread Index

Privacy Policy | PostgreSQL Archives hosted by Command Prompt, Inc. | Designed by tinysofa
Copyright © 1996 – 2008 PostgreSQL Global Development Group