Improved line clipping algorithm regarding numeric exceptions.