test case for clipping bug
floating point clipping bug fixed (by Pedro E)