74ece7ddf4
Replace floating pointer formatter with errol1
2018-06-23 16:21:19 +02:00
411e45ec5c
Remove functions deprecated in 0.9.0
2018-06-22 07:11:56 +02:00
f51e9405c9
Update socket documentation
2018-06-20 07:59:37 +02:00
a86b6690f0
Implement auto-decoding free equal comparison
...
Fix #39 .
2018-06-12 20:19:06 +02:00
2ec750ca05
Fix math.nbtheory linkage to asm
...
Don't use extern for templated functions. If the function argument is
const, it gets a different mangling. So define a private function for
each floatint point length and call it from template.
2018-05-08 18:07:42 +02:00
6ed2992862
Remove unused variables
2018-05-06 07:03:11 +02:00
6e2852000b
Deprecate math.min/max in favour of tanya.algorithm
2018-04-27 11:32:22 +02:00
c0f9e5be10
Replace std min/max. Fix #35
2018-04-26 10:23:06 +02:00
d157e88b7a
Fix import order in math.random
2018-04-08 05:59:14 +02:00
464a0fecbb
Make math.nbtheory.ln to a template function
2018-02-25 05:38:21 +01:00
af942116e4
Merge remote-tracking branch 'n8sh/getrandom-syscall'
...
Fix #18 .
2018-02-22 05:25:59 +01:00
Nathan Sashihara
7ee4af9e79
Use correct getrandom linux syscall on non-x86_64
2018-02-21 04:49:48 -05:00
Nathan Sashihara
9876d9245c
Implement PlatformEntropySource for macOS, Microsoft Windows, NetBSD, OpenBSD, Solaris
2018-02-21 03:18:52 -05:00
048ddf21ff
Replace body with do
2018-01-31 12:05:06 +01:00
8db1851c5c
Update dmd to 2.078.0
2018-01-04 05:36:46 +01:00
ac317aa9d6
math.min: Drop useless second isFloatingPoint check
2017-11-19 22:37:15 +01:00
13407fcf8a
math: Add min/max
2017-11-02 06:00:11 +01:00
12fb9ff9f6
Add algorithm.mutation.swap
2017-11-01 13:03:48 +01:00
7a2768340e
Add algorithm package with move and moveEmplace
2017-10-29 07:51:00 +01:00
0d69c7fc79
Make math.mp.Integer pure
2017-10-24 11:50:32 +02:00
e4cd57a615
math.nbtheory: Implement natural logarithm
2017-10-02 14:55:30 +02:00
74b085b88d
Sort imports
2017-10-01 19:03:42 +02:00
ee48c25328
Replace "Ditto." with "ditto"
...
ddox doesn't recognize "Ditto.".
2017-09-22 04:08:50 +02:00
4612d5eb6d
Add tanya.encoding.ascii
2017-09-21 06:57:49 +02:00
14f91b6942
Don't import math submodules publically
2017-09-18 12:28:13 +02:00
be551e9349
Add docs and tests for fp classificators
2017-09-18 11:31:37 +02:00
586d12b6c7
Classificators for double extended floating point numbers
2017-09-17 10:30:12 +02:00
27146f7e0c
Add tanya.math.fp
2017-09-16 22:35:31 +02:00
3e9ca359da
math: Add floating point support to abs
2017-09-13 06:43:49 +02:00
e8143bd0cc
Fix template constraints style in tanya.math
2017-09-11 06:48:47 +02:00
0e99effaeb
net.inet: Remove htonl/htons based unit tests
2017-08-24 07:45:16 +02:00
64f2295d1a
Fix #276
...
Add link to the source file for each module.
2017-08-12 17:01:51 +02:00
47b394d8c3
Add module documentation. Fix #248
2017-06-24 09:08:19 +02:00
56406fb593
Mark Entropy class as nogc, add linux 64bit unittest
2017-06-17 08:58:44 +02:00
f5d0c2af8f
Revert "Add unittest for Linux random generator"
...
Doesn't work on 32-bit.
This reverts commit c62dc4063e
.
2017-06-15 11:21:56 +02:00
c62dc4063e
Add unittest for Linux random generator
2017-06-15 11:19:50 +02:00
8c42cbfd63
Rename Vector to Array
...
For consistency with Phobos.
2017-05-16 12:12:57 +02:00
8afb552d59
mp.Integer: add two's complement constructor
2017-05-10 19:27:25 +02:00
1cb9349226
math.mp.Integer.toVector return two's complement
2017-05-09 06:27:30 +02:00
06620dc5df
math.mp.Integer: Return two's complement length
2017-05-08 21:09:52 +02:00
f2aac680c5
Fix container ctors and opAssign ref parameters
...
Container constructors and opAssign should accept any ref container and
not only const, otherwise the source container will be copied because
the constructor/opAssign without ref would be a better match.
2017-05-01 09:48:12 +02:00
65c3ca14ec
Integer storage optimization
2017-04-30 16:07:44 +02:00
4fa47153ba
Make Integer representation little endian
2017-04-25 19:50:06 +02:00
402fdfae89
math.mp: Fix initialization issues after resizing
2017-03-23 15:36:17 +01:00
7892c1a930
Remove Init template parameter from memory.resize()
2017-03-22 08:51:00 +01:00
b90517580e
Merge math.mp.Integer changes from the crypto branch
2017-03-21 19:25:12 +01:00
b90c56395c
Remove resizeArray alias
2017-03-19 06:10:27 +01:00
8e0b742748
MmapPool: Merge blocks on deallocation if possible
2017-01-05 14:25:54 +01:00
c966b42ac3
Fix FreeBSD build
2016-12-24 22:25:34 +01:00
38addb7a5b
Add support for pow for big integers
2016-12-22 21:51:16 +01:00