Koki Fushimi
41601e9307
Bug fix
2018-06-05 00:27:04 +09:00
Koki Fushimi
05f81482f4
Change to use log(x, base)
2018-06-05 00:22:40 +09:00
Andreas Rumpf
12996c08a1
fixed merge conflict
2018-06-04 16:16:50 +02:00
Oscar Nihlgård
05b447374b
Use higher time resolution when available in os.nim ( #7709 )
2018-06-04 14:56:56 +02:00
Andreas Rumpf
582786d068
db_mysql.nim: Work around string nil comparison logic
2018-06-04 12:20:56 +02:00
Yuriy Glukhov
395b7506cf
Expose GC_setStackBottom ( #7885 )
2018-06-04 11:12:18 +02:00
Koki Fushimi
abf8ee049a
Broaden the argument types
2018-06-04 16:48:11 +09:00
Koki Fushimi
f849db1c5c
Generalize and add test
2018-06-04 15:09:17 +09:00
Koki Fushimi
d7913419d7
Add log proc for base b of x
2018-06-04 15:03:08 +09:00
Varriount
381acc09e9
Update sqlite example to use empty strings.
...
Update sqlite example to use empty strings to use empty strings instead of nil.
2018-06-03 14:37:41 -04:00
Andreas Rumpf
b5194f592c
WIP: an API for VM replay global state support
2018-06-03 20:18:43 +02:00
Andreas Rumpf
6d19d1eeb2
macros.nim: remove deprecated symbols
2018-06-03 20:15:12 +02:00
Oscar Nihlgård
fd28236368
Multi byte characters should not be treated as part of an operator
2018-06-03 09:05:50 +02:00
skilchen
91765e583d
fix handling of default precision in formatBiggestFloat for the js backend ( #7928 )
2018-06-01 22:24:32 -04:00
skilchen
07ff9940f4
fix strformat zeropadding for floats ( #7934 )
2018-06-01 22:23:50 -04:00
data-man
b4626a220b
Added $ for openarrays. Fixes #7940 .
2018-06-01 21:28:23 +03:00
Federico Ceratto
cb87bba82f
Update example ( #7788 )
2018-06-01 11:28:20 -04:00
Koki Fushimi
3acedd4cd9
Add imaginary unit. ( #7922 )
2018-06-01 11:20:28 -04:00
Koki Fushimi
3027ca292c
Support div, mod, floorDiv and floorMod for Rationals ( #7918 )
...
* Support `div`, `mod`, floorDiv and floorMod for Ratinoals.
* Bug fix and add tests.
* Update changelog
2018-06-01 11:19:25 -04:00
Torro
637ee7a151
Add note to import "std/sha1" to sha1.nim (doc)
2018-06-01 16:20:30 +02:00
Dominik Picheta
16a42f4ffa
Merge branch 'feature/times_fixup' of https://github.com/survivorm/Nim into survivorm-feature/times_fixup
2018-05-31 15:03:54 +01:00
Michael Voronin
5da74d5979
[add] Add fraction of seconds to parse/format utils
2018-05-31 16:09:48 +03:00
Michael Voronin
8aeb24b4fd
[add] add between function to calculate TI between two datetimes
2018-05-31 16:02:40 +03:00
Michael Voronin
11fcc83f8a
[add] Add procs for TimeInterval stringify
2018-05-31 16:02:37 +03:00
Michael Voronin
a573577cdc
[add+change] Added toDurationParts proc to convert Duration to array[FixedTimeUnit, int64] of it's human-readable parts, use it in $Duration
2018-05-31 16:01:58 +03:00
data-man
664b949d54
Better error messages in scanf.
2018-05-30 23:49:56 +03:00
data-man
1bbd83de3f
Removed spaces in math module
2018-05-30 20:55:53 +03:00
Oscar Nihlgård
65070a6936
Use truncation division in mod for floats ( #7118 )
...
* Use truncation division in mod for floats
* Add changelog entry
* Add floorDiv/floorMod to math.nim
* Update changelog
2018-05-30 19:14:21 +03:00
Koki Fushimi
2107c81d6d
Add inverse hyperbolic, and cot, sec and csc; and their hyperbolic, inverse, inverse hyperbolic, and change to use defined functions in C or JS for logs and hyperbolics. ( #7893 )
...
* Add secant, cosecant and cotangent.
* Add hyperbolic functions of cotangent, secant and cosecant.
* Add inverse hyperbolic functions.
* Change to use defined function of C and JS.
* Bug fix and refactoring.
* Add change to changelog.md
2018-05-30 15:29:34 +01:00
Dmitry Atamanov
a075a912cf
Add algorithm.upperBound ( #7851 )
...
* Add algorithm.upperBound
* Docs updated
2018-05-29 07:28:15 +03:00
hlaaf
5866e64ebc
fix #7881 , control characters in json output ( #7887 )
...
* fix #7881 , control characters in json output
* Add test for control characters in json
2018-05-28 19:15:37 -04:00
Andreas Rumpf
e5281f9356
rename 'nimrodVM' to 'nimVM'
2018-05-28 18:01:56 +02:00
Andreas Rumpf
afdd77363e
Merge branch 'devel' into araq-big-refactoring
2018-05-28 12:13:50 +02:00
Andreas Rumpf
5db01f7abe
Merge branch 'devel' of github.com:nim-lang/Nim into devel
2018-05-28 11:24:37 +02:00
Andreas Rumpf
3221ac0943
hotfix for --gc:regions
2018-05-28 11:24:29 +02:00
七秒不觉梦
b6b6382e0b
Added: type name output when exception raised from unittest ( #7869 )
2018-05-28 05:24:04 +03:00
Federico Ceratto
21fb0db6e2
Update existsFile documentation ( #7888 )
2018-05-27 19:35:19 -04:00
Andreas Rumpf
73799903ee
removed global variable from rstgen.nim
2018-05-27 23:38:49 +02:00
WhiteDuke
b36c499907
Set domain to client
2018-05-27 21:08:37 +02:00
Andreas Rumpf
9849808720
Merge branch 'devel' into araq-big-refactoring
2018-05-27 13:38:09 +02:00
Andreas Rumpf
7e8eadb6ba
SSL implementation: added nimNoAllocForSSL
2018-05-27 11:31:27 +02:00
Andreas Rumpf
88bc2d8df4
make memory regions robust; disable free lists for now
2018-05-27 11:15:45 +02:00
Andreas Rumpf
12bd1c494c
fixes merge conflict
2018-05-26 19:09:02 +02:00
Koki Fushimi
09283bb939
Faster binary gcd algorithm ( #7849 )
...
* Faster binary gcd algorithm.
* Use built in countTrailingZeroBits to calculate gcd.
* Add definitions of gcd for integers and other types.
* Unified signed case and unsinged case in one proc by using when syntax.
* Change to faster one.
2018-05-26 08:31:45 +03:00
Araq
08637bc272
JS hotfix for the Internet Explorer up to version 11
2018-05-25 23:19:54 +02:00
data-man
856dc4c5c1
Fixes for parseUntil when until.len == 0 (or nil)
2018-05-25 18:52:04 +03:00
Andreas Rumpf
6536535470
add missing compilerProcs for memory regions
2018-05-25 16:23:21 +02:00
Andreas Rumpf
c0024fa587
fixes channels for --gc:regions
2018-05-25 16:21:33 +02:00
data-man
cc9e94cd96
Hide readAll from js for tests passing
2018-05-25 08:48:09 +03:00
data-man
8149c07458
Fixes streams bugs
2018-05-25 07:46:48 +03:00