mirror of
https://github.com/vim/vim.git
synced 2025-09-25 03:54:15 -04:00
patch 8.0.0614: float2nr() is not exactly right
Problem: float2nr() is not exactly right. Solution: Make float2nr() more accurate. Turn test64 into a new style test. (Hirohito Higashi, closes #1688)
This commit is contained in:
@@ -364,6 +364,9 @@
|
||||
# if !defined(NAN)
|
||||
# define NAN (INFINITY-INFINITY)
|
||||
# endif
|
||||
# if !defined(DBL_EPSILON)
|
||||
# define DBL_EPSILON 2.2204460492503131e-16
|
||||
# endif
|
||||
# endif
|
||||
#endif
|
||||
|
||||
|
Reference in New Issue
Block a user