def
f710a31344
Make rationals generic
2015-02-20 12:21:09 +01:00
PhilipWitte
8c5a47ee2b
Merge remote-tracking branch 'upstream/devel' into devel
2015-02-19 21:16:39 -08:00
def
d3946aa621
Add sortedBy template to sequtils
2015-02-20 05:01:29 +01:00
def
28fa1c3b40
Add sorted proc to algorithm module
2015-02-20 04:57:53 +01:00
Flaviu Tamas
e36011a5a1
Improve website background quality
...
The old image was compressed with JPG and was improperly rendered anyway. The
background has been modified so that each dot lines up perfectly on pixel
boundaries. It's compressed with lossy PNG, which has the advantage of
preserving the quality of the dots.
There will be another PR to fix the background URL for the forum.
2015-02-19 20:38:11 -05:00
Varriount
95861aecf0
Merge pull request #2168 from oderwat/fix-niminst
...
Cleaned up T/P names.
2015-02-19 11:12:58 -05:00
Hans Raaf
85157f5076
Cleaned up T/P names.
2015-02-19 16:31:07 +01:00
def
f6c83c32f3
Fix typo
2015-02-19 13:57:31 +01:00
def
c377e6883c
Change author of rationals module
2015-02-19 10:54:38 +01:00
Andreas Rumpf
43c023c8dd
Merge pull request #2164 from oderwat/fix-tohex
...
Fixing toHex() to not wrap for long lens + Test
2015-02-19 09:12:50 +01:00
Andreas Rumpf
a8acb5ec65
Merge pull request #2165 from def-/read-write-bytes
...
Make readBytes and writeBytes work with uint8
2015-02-18 23:09:46 +01:00
def
ecfaab68f1
Make readBytes and writeBytes work with uint8
...
So far only openarray[int8] worked. Now it's openarray[int8|uint8]. This
should make sense, since uint8 is comfortable to represent a byte
(0-255) and there is already type byte* = uint8 in system.
2015-02-18 21:13:01 +01:00
Hans Raaf
a471b3c87f
Added test for toHex().
2015-02-18 19:02:38 +01:00
Hans Raaf
88f3b1d99f
Fixing toHex() to not wrap for long lens.
...
If you specify a len like 32 toHex() will repeat the given value in the
output. Besides that I believe my implementation is easier and seems not
to change how negative numbers are handled. I also handle the case of
wrapping negative number beyond BiggestInt to "do it right".
2015-02-18 18:58:20 +01:00
Andreas Rumpf
358d4b958c
Merge pull request #2139 from c-blake/devel
...
Add mgetOrPut to support just one probe chase for the common
2015-02-18 15:56:23 +01:00
Araq
2bdd0bbaa9
make huge.nim urhonimo example compile
2015-02-18 15:14:10 +01:00
Araq
b7f11b8b0a
fixes #2125
2015-02-18 13:44:01 +01:00
Araq
e6dcceae6c
website updates
2015-02-18 13:44:01 +01:00
Araq
9fe1aa6996
intsets.empty is wrong
2015-02-18 13:44:00 +01:00
Andreas Rumpf
0b1989e6ca
Merge pull request #2155 from def-/warnings
...
Fix a few more warnings
2015-02-18 13:43:06 +01:00
Andreas Rumpf
3e63ce2833
Merge pull request #2156 from def-/usevfork
...
Always use 0x40 for POSIX_SPAWN_USEVFORK
2015-02-18 13:41:02 +01:00
Andreas Rumpf
8a8c256738
Merge pull request #2163 from def-/declared-doc
...
Fix documentations for declared (instead of defined)
2015-02-18 13:37:54 +01:00
def
456aa7fdfe
Use declaredInScope instead of definedInScope
2015-02-18 01:57:10 +01:00
def
2647423502
Fix documentations for declared (instead of defined)
2015-02-18 01:55:50 +01:00
Charles Blake
b65032e77e
Add some unit tests for mgetOrPut and hasKeyOrPut.
2015-02-17 09:55:46 -05:00
Charles Blake
c1e6783466
Merge ../Nim into devel
2015-02-17 08:22:09 -05:00
def
c62b204960
Always use 0x40 for POSIX_SPAWN_USEVFORK
2015-02-17 02:33:54 +01:00
def
e686ca2523
Fix a few more warnings
2015-02-17 02:22:30 +01:00
Andreas Rumpf
5668ab3a49
Merge pull request #2091 from PhilipWitte/devel
...
Various website fixes (banner, icons, css, articles)
2015-02-16 23:57:15 +01:00
Andreas Rumpf
0ee97a18b9
Merge pull request #2151 from def-/fix-advanced-options
...
Fix output of --advanced
2015-02-16 21:52:27 +01:00
Charles Blake
55840d9505
Merge ../Nim into devel
2015-02-16 14:55:08 -05:00
def
ac0bb605ba
Fix output of --advanced
...
All the other documentation limits with :, only this one was with =
2015-02-16 20:50:43 +01:00
def
221e633697
Fix lib link to rationals module
2015-02-16 20:44:24 +01:00
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
2d004dd677
Update toInt doc
2015-02-16 20:44:24 +01:00
def
444beab5dd
Fix division and add tests
2015-02-16 20:44:24 +01:00
def
a85b6fd3fe
Change rationals.toInt behaviour
2015-02-16 20:44:24 +01:00
def
8c92a78853
Export new math procs
2015-02-16 20:44:24 +01:00
def
aa4d119e8c
Move rational.nim to rationals.nim
2015-02-16 20:44:24 +01:00
def
b1f4eda723
Fix += and -= for Rational
2015-02-16 20:44:24 +01:00
def
d57d1f00cd
Add shuffle to math module
2015-02-16 20:44:24 +01:00
def
232dba8f95
Add rational to standard library list
2015-02-16 20:44:24 +01:00
def
6fc1f1374f
Add rational module
2015-02-16 20:44:23 +01:00
def
00e82c2fc6
Extend complex to convert to/from polar coordinates
2015-02-16 20:44:23 +01:00
def
1ad1b93f0a
Add ^, gcd and lcm to math
2015-02-16 20:43:20 +01:00
Andreas Rumpf
553b9308b7
Merge pull request #2145 from oderwat/fix-osx-gcc49
...
Removing -fasm-blocks default for OS X
2015-02-16 20:33:48 +01:00
Andreas Rumpf
13c2d9b8e2
Merge pull request #2150 from def-/gc2-compiling
...
Make gc2 compile again and fix some deprecation warnings
2015-02-16 20:33:25 +01:00
Andreas Rumpf
a5f8f538a2
Merge pull request #2140 from FedericoCeratto/devel
...
Fix some typos
2015-02-16 20:32:24 +01:00
def
b9abeff617
Clean up some more deprecation warnings
2015-02-16 19:13:49 +01:00