def
|
43bc72f1fe
|
Make gcd iterative instead of recursive
|
2015-02-16 20:44:24 +01:00 |
|
def
|
cc757d538c
|
Remove shuffle again
|
2015-02-16 20:44:24 +01:00 |
|
def
|
8c92a78853
|
Export new math procs
|
2015-02-16 20:44:24 +01:00 |
|
def
|
d57d1f00cd
|
Add shuffle to math module
|
2015-02-16 20:44:24 +01:00 |
|
def
|
1ad1b93f0a
|
Add ^, gcd and lcm to math
|
2015-02-16 20:43:20 +01:00 |
|
Andreas Rumpf
|
2f62cc91a4
|
Merge pull request #2111 from lyro/fix-2110
fix conditions for int size in 'math.nextPowerOfTwo' #2110
|
2015-02-12 15:18:55 +01:00 |
|
Araq
|
10335fd726
|
fixed minor bugs; cleaned up tests
|
2015-02-12 14:56:56 +01:00 |
|
Frank Fischer
|
fcfaf2a844
|
fix conditions for int size in 'math.nextPowerOfTwo' #2110
|
2015-02-12 12:47:58 +01:00 |
|
Guillaume Gelin
|
3119fe087d
|
Happy new year!
|
2015-01-06 15:26:33 +01:00 |
|
def
|
f52fd8785f
|
Fix some deprecation warnings caused by renames
|
2014-11-13 21:34:46 +01:00 |
|
Araq
|
adad2d5f4a
|
Merge branch 'devel' into bigbreak
Conflicts:
lib/impure/db_postgres.nim
lib/pure/json.nim
lib/pure/math.nim
lib/system/atomics.nim
|
2014-11-03 11:42:36 +01:00 |
|
Varriount
|
6935171b85
|
Fix math.nim on windows
|
2014-11-03 02:17:39 -05:00 |
|
Andreas Rumpf
|
a0ecfd19be
|
Merge pull request #1448 from def-/posix-math
Add -lm for fesetround and fegetround
|
2014-11-03 01:58:50 +01:00 |
|
Araq
|
d05df2173b
|
Nimrod renamed to Nim
|
2014-08-28 09:50:51 +02:00 |
|
Araq
|
11b6958755
|
big rename
|
2014-08-27 23:42:51 +02:00 |
|
Araq
|
2f43fdb837
|
renamefest
|
2014-08-23 01:43:49 +02:00 |
|
def
|
a019825d8f
|
Move fenv to its own module
|
2014-08-22 13:12:49 +02:00 |
|
Dominik Picheta
|
add0a0e9bc
|
Merge pull request #1351 from def-/random-openarrays
Add random() for openarrays
|
2014-08-13 21:12:12 +01:00 |
|
Araq
|
dd806cafa0
|
distinguish between 'defined' and 'declared'
|
2014-08-11 20:38:28 +02:00 |
|
def
|
c0422ae8af
|
Move floating point rounding and exceptions handling to math
(it's C99 as well, not just POSIX)
|
2014-08-06 02:31:19 +02:00 |
|
def
|
fc6a799fc6
|
Add random() for openarrays
|
2014-07-12 03:04:43 +02:00 |
|
Grzegorz Adam Hankiewicz
|
2353b5633e
|
Hyperlinks back JavaScript target.
|
2014-06-21 23:48:41 +02:00 |
|
Charlie
|
d32b4272c3
|
added a note about random(max: float): float's resolution on windows
|
2014-05-18 15:16:35 -04:00 |
|
Charlie
|
8a183dac78
|
added random(max: float): float support to windows
|
2014-05-18 15:13:37 -04:00 |
|
Araq
|
e6d17e6273
|
made large parts of the stdlib gcsafe
|
2014-04-20 20:01:24 +02:00 |
|
Dominik Picheta
|
96c97d4103
|
JS: Fixes math and streams module and implements json.
|
2014-04-11 21:41:45 +01:00 |
|
ReneSac
|
8095fbf982
|
Removed trailing ';'.
|
2014-04-06 15:07:20 -03:00 |
|
ReneSac
|
a4559ab17e
|
Zero is not a power of two. Fix #1047
Also, fixed some docstrings and added {.noSideEffect.} pragma to nextPowerOfTwo().
|
2014-04-06 14:18:16 -03:00 |
|
Jason Livesay
|
cabc5c80d3
|
Calling randomize() again within 1 second will now provide a different seed
|
2014-03-26 18:54:34 -07:00 |
|
Araq
|
92b8fac94a
|
case consistency part 4
|
2013-12-27 23:10:36 +01:00 |
|
Araq
|
891f871ba7
|
better support for GNU's assembler
|
2013-09-03 23:44:31 +02:00 |
|
Araq
|
52851b722d
|
--os:standalone works again
|
2013-06-30 21:15:28 +02:00 |
|
Grzegorz Adam Hankiewicz
|
72a3e21f28
|
Removes executable bit for text files.
|
2013-03-16 23:53:07 +01:00 |
|
Simon Hafner
|
1785c6877b
|
EcmaScript => JS. Fixes #330
No one calls it EcmaScript anymore.
|
2013-02-15 11:08:30 -06:00 |
|
Grzegorz Adam Hankiewicz
|
5aced9186d
|
Adds randomize(seed) for repeatable pseudo random numbers.
Also fixes srand48() type to clong.
|
2013-01-23 13:30:30 +01:00 |
|
Araq
|
e741583f7b
|
math.random(max: float) not available on windows
|
2012-09-19 00:16:23 +02:00 |
|
Simon Hafner
|
e9bbc7235d
|
no uniqueCounter it is
|
2012-09-06 17:25:52 -05:00 |
|
Simon Hafner
|
33cabeb04d
|
+ random number generator for floats and slices - with tests
I also took the liberty to unify the API between ECMAScript and C.
|
2012-09-06 16:42:53 -05:00 |
|
Araq
|
2900ceae35
|
changed integer promotion rules; added math.fmod
|
2012-06-28 08:33:25 +02:00 |
|
Dominik Picheta
|
41a9a941ab
|
Fixed math.round, added math.ceil and fixed times.format.
|
2012-06-04 19:24:13 +01:00 |
|
Araq
|
4f1b89c30c
|
year 2012 for most copyright headers
|
2012-01-02 23:07:35 +01:00 |
|
dom96
|
e1a82987af
|
Fixed the tester. Some fixes and additions for the JS backend.
|
2011-10-31 15:39:01 +00:00 |
|
Araq
|
5b28d08203
|
non-nil AST; continue after errors for IDE support
|
2011-02-12 19:24:20 +01:00 |
|
Araq
|
064417fc5a
|
bugfix: floating point precision; added strutils.formatFloat
|
2011-01-09 14:52:15 +01:00 |
|
Araq
|
da325bc7a4
|
fixed whitespace conflict
|
2011-01-06 00:45:50 +01:00 |
|
Araq
|
5635fde060
|
transf: big refactoring; other small fixes
|
2011-01-05 23:46:50 +01:00 |
|
Michael Fellinger
|
9e29737178
|
add sin proc for math
|
2011-01-04 20:57:00 +09:00 |
|
Araq
|
63ac32e6de
|
bugfix: multiple yield statements and loop body vars
|
2010-12-13 07:58:35 +01:00 |
|
Andreas Rumpf
|
f45a2f23b0
|
bugfix: macro evaluation; added colors.extractRGB
|
2010-03-04 23:42:19 +01:00 |
|
Andreas Rumpf
|
40ea1d0330
|
fixed pango/pangoutils new wrappers
|
2010-02-26 01:26:16 +01:00 |
|