On Fri, May 30, 2008 at 08:16:51AM -0500, John Stanton scratched on the wall:
> Use integers if you want to assign a specific scale and precision.

> Because floating point numbers are an approximation you can enforce a 
> certain precision by calculating differences.  

> You cannot use equality with FP

  You can, but you might not get the results you expect.

> but you can decide that equality is when (A - B) < |N| where N 
> is the precision and || absolute value.

  That would be:   |(A-B)| < N

   -j

-- 
Jay A. Kreibich < J A Y  @  K R E I B I.C H >

"'People who live in bamboo houses should not throw pandas.' Jesus said that."
   - "The Ninja", www.AskANinja.com, "Special Delivery 10: Pop!Tech 2006"
_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to