| Commit message (Collapse) | Author | Age |
| |
|
|
|
|
|
|
| |
Problem: float2nr() is not exactly right.
Solution: Make float2nr() more accurate. Turn test64 into a new style test.
(Hirohito Higashi, closes vim/vim#1688)
https://github.com/vim/vim/commit/863e80b4451b5102b41bebf9ddca3a420de746fa
|
| |
|
|
|
|
|
| |
Problem: Still some float functionality is not covered by tests.
Solution: Add more tests. (Dominique Pelle, closes vim/vim#1364)
https://github.com/vim/vim/commit/872004132f25cabe59352912889e042d6c7e6b4e
|
| |
|
|
|
|
|
|
| |
Problem: str2nr() and str2float() do not always work with negative values.
Solution: Be more flexible about handling signs. (LemonBoy, closes vim/vim#1332)
Add more tests.
https://github.com/vim/vim/commit/08243d26d22ad44a857d02c90071578577b8a55d
|
| |
|
|
|
|
|
|
|
| |
Problem: On MS-Windows some float functions return a different value when
passed unusual values. strtod() doesn't work for "inf" and "nan".
Solution: Accept both results. Fix str2float() for MS-Windows. Also
reorder assert function arguments.
https://github.com/vim/vim/commit/6247361101dcccc0c877e90ad67cd0cc83df7c68
|
|
|
Problem: Several float functions are not covered by tests.
Solution: Add float tests. (Dominique Pelle)
https://github.com/vim/vim/commit/453b576ee5d32e9b8e6876712748ae01f9be68dd
|