BIT Numerical Mathematics

, Volume 56, Issue 2, pp 729–749 | Cite as

Simple floating-point filters for the two-dimensional orientation problem

  • Katsuhisa OzakiEmail author
  • Florian Bünger
  • Takeshi Ogita
  • Shin’ichi Oishi
  • Siegfried M. Rump


This paper is concerned with floating-point filters for a two dimensional orientation problem which is a basic problem in the field of computational geometry. If this problem is only approximately solved by floating-point arithmetic, then an incorrect result may be obtained due to accumulation of rounding errors. A floating-point filter can quickly guarantee the correctness of the computed result if the problem is well-conditioned. In this paper, a simple semi-static floating-point filter which handles floating-point exceptions such as overflow and underflow by only one branch is developed. In addition, an improved fully-static filter is developed.


Floating-point arithmetic Floating-point filter  Computational geometry 

Mathematics Subject Classification

65G50 68U05 



The authors wishes to thank the anonymous referee for constructive and valuable comments. This research was partially supported by the CREST program, Japan Science and Technology Agency (JST).


  1. 1.
    Brönnimann, H., Burnikel, C., Pion, S.: Interval arithmetic yields efficient dynamic filters for computational geometry. Discret. Appl. Math. 109, 25–47 (2001)MathSciNetCrossRefzbMATHGoogle Scholar
  2. 2.
    Burnikel, C., Funke, S., Seel, M.: Exact geometric computation using cascading. Int. J. Comput. Geom. Appl. 11(3), 245–266 (2001)MathSciNetCrossRefzbMATHGoogle Scholar
  3. 3.
    Computational Geometry Algorithms Library.
  4. 4.
    Higham, N.J.: Accuracy and Stability of Numerical Algorithms, 2nd edn. SIAM Publications, Philadelphia (2002)CrossRefzbMATHGoogle Scholar
  5. 5.
    IEEE Standard for Floating-Point Arithmetic, Std 754–2008, 2008Google Scholar
  6. 6.
    Kettner, L., Mehlhorn, K., Pion, S., Schirra, S., Yap, C.: Classroom examples of robustness problems in geometric computations. Comput. Geom. 40, 61–78 (2008)MathSciNetCrossRefzbMATHGoogle Scholar
  7. 7.
    Melquiond, G., Pion, S.: Formally certified floating-point filters for homogenous geometric predicates. Theor. Inf. Appl. 41, 57–69 (2007)MathSciNetCrossRefzbMATHGoogle Scholar
  8. 8.
    Meyer, A., Pion, S.: FPG: A code generator for fast and certified geometric predicates. In: 8th Conference on Real Numbers and Computers (RNC), pp. 47–60, Santiago de Compostela, Spain (2008)Google Scholar
  9. 9.
    Pan, V.Y., Yu, Y.: Certified computation of the sign of a matrix determinant. In: Proceedings of the 10th Annual ACM-SIAM Symposium on Discrete Algorithms, pp. 715–724, ACM Press, New York, and SIAM Publications, Philadelphia (1999)Google Scholar
  10. 10.
    Pion, S., Fabri, A.: A Generic Lazy Evaluation Scheme for Exact Geometric Computations. Sci. Comput. Program. 76(4), 307–323 (2011)CrossRefGoogle Scholar
  11. 11.
    Rump, S.M.: Error estimation of floating-point summation and dot product. BIT Numer. Math. 52(1), 201–220 (2012)MathSciNetCrossRefzbMATHGoogle Scholar
  12. 12.
    Rump, S.M., Zimmermann, P., Boldo, S., Melquiond, G.: Computing predecessor and successor in rounding to nearest. BIT Numer. Math. 49(2), 419–431 (2009)MathSciNetCrossRefzbMATHGoogle Scholar
  13. 13.
    Shewchuk, J.R.: Adaptive precision floating-point arithmetic and fast robust geometric predicates. Discret. Comput. Geom. 18, 305–363 (1997)MathSciNetCrossRefzbMATHGoogle Scholar
  14. 14.
    Shewchuk, J.R.: C code for the 2D and 3D orientation and incircle tests.

Copyright information

© Springer Science+Business Media Dordrecht 2015

Authors and Affiliations

  • Katsuhisa Ozaki
    • 1
    Email author
  • Florian Bünger
    • 2
  • Takeshi Ogita
    • 3
  • Shin’ichi Oishi
    • 4
  • Siegfried M. Rump
    • 2
  1. 1.College of Systems Engineering and ScienceShibaura Institute of TechnologySaitama-shiJapan
  2. 2.Institute for Reliable ComputingHamburg University of TechnologyHamburgGermany
  3. 3.School of Arts and SciencesTokyo Woman’s Christian UniversitySuginami-kuJapan
  4. 4.Faculty of Science and EngineeringWaseda UniversityShinjyuku-kuJapan

Personalised recommendations