summary refs log tree commit diff stats
path: root/tests/float
Commit message (Collapse)AuthorAgeFilesLines
* fix #10305 nim cpp is now nan-correct at CT (#10310)Timothee Cour2019-01-151-0/+28
| | | | | * fix #10305 nim cpp is now nan-correct at CT * add example where simply `nim cpp -d:release` would exhibit nan bug
* Testament: refactoring; makes the test joiner greenAraq2018-12-111-5/+6
|
* require errormsg to be specified before file.Arne Döring2018-12-119-26/+20
|
* make `mod` on floats available in the VM (#9591)skilchen2018-11-051-0/+130
| | | | | | * make `mod` on floats available in the VM * add testcase * removed no longer needed imports
* update testcooldome2018-04-291-1/+13
|
* Add a testcooldome2018-04-291-0/+37
|
* Fix for isssue in parseBiggestFloat #7060 (#7061)cooldome2018-01-111-0/+6
|
* Added 'lenient ops' module (#6754)Fabian Keller2017-11-211-0/+100
| | | | | | | | | | | | | | | | * added 'lenient ops' module * made lenient ops inline/noSideEffect; updated copyright * moved tests into external module * added warning for the '==' operator * mentioned lenientops in the standard library overview * removed test on nimout -- too fragile * removed `==` and moved doc link to core section
* make more tests greenAraq2017-11-011-6/+0
|
* fixes #6606 (#6610)Fredrik Høisæther Rasch2017-10-271-0/+22
|
* make tests green again; closes #5861Andreas Rumpf2017-10-101-1/+1
|
* Remove expr/stmt (#5857)Arne Döring2017-07-251-1/+1
|
* Fixes #5821 (float32 literal comparison issue) (#5825)Dominik Picheta2017-05-171-0/+13
| | | | * Remove processing hints for async procs. * Fixes #5821.
* testament: OS specific disablesAraq2017-01-311-0/+1
|
* made test green for WindowsAraq2016-09-301-2/+4
|
* fixes issue 4212 && add test for various valid zero floats.Parashurama2016-05-251-13/+21
|
* fixes #4212Andreas Rumpf2016-05-251-1/+1
|
* fixes some issues with underscores in float literals. add more tests.Parashurama2016-05-192-0/+47
| | | | | | fixes some potential issues with underscores in float literals. adds more checks for badly positionned underscores in float literals. adds more test files.
* fix issue 4181. add testcase.Parashurama2016-05-181-0/+15
|
* tests: Trim .nim files trailing whitespaceAdam Strzelecki2015-09-041-1/+1
| | | | via OSX: find . -name '*.nim' -exec sed -i '' -E 's/[[:space:]]+$//' {} +
* make tests greenAraq2014-08-313-5/+5
|
* further adaptationsAraq2014-08-291-2/+2
|
* Fixed parsing of float literals.Reimer Behrends2014-05-231-0/+42
| | | | | | | | | Float literals were not parsed properly when their fractional part exceeded 53 significant bits. This affected in particular math.PI and math.E. Rather than reinventing the wheel, this patch reuses C's strtod() implementation, which already does the heavy lifting with respect to correctness, though some caution is necessary to keep float parsing locale-independent.
* new tester; all tests categorizedAraq2014-01-133-0/+54