Implemented function to split floating point numbers at the decimal place (equivalent to C's modf function). Fixes #4195.
This commit is contained in:
parent
0cc7c9a13c
commit
46a2993917
2 changed files with 27 additions and 0 deletions
|
|
@ -61,6 +61,8 @@ Library Additions
|
|||
- Added ``strscans`` module that implements a ``scanf`` for easy input extraction.
|
||||
- Added a version of ``parseutils.parseUntil`` that can deal with a string ``until`` token. The other
|
||||
versions are for ``char`` and ``set[char]``.
|
||||
- Added ``splitDecimal`` to ``math.nim`` to split a floating point value
|
||||
into an integer part and a floating part (in the range -1<x<1).
|
||||
|
||||
|
||||
Compiler Additions
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue