bors[bot]
d159ed63be
Merge #320
...
320: complex: implement real ops directly r=cuviper
It's more efficient to implement these without creating an intermediate
complex value -- at the least, we don't have to rely on the compiler
optimizing out zero-ops.
2017-07-12 22:03:07 +00:00
Josh Stone
f06f5c548e
complex: implement real ops directly
...
It's more efficient to implement these without creating an intermediate
complex value -- at the least, we don't have to rely on the compiler
optimizing out zero-ops.
2017-07-12 14:37:50 -07:00
Josh Stone
d57c0c2879
complex: implement add/sub_assign directly
2017-07-12 13:59:30 -07:00
Josh Stone
055c6693b1
complex: require T:NumAssign for assign ops
2017-07-12 13:54:57 -07:00
bluss
686411f44e
complex: Add tests for OpAssign
...
Add tests by expanding the current a + b tests to include a += b, and so
on.
2017-07-12 13:48:12 -07:00
bluss
3ec194bafb
complex: implement OpAssign for Complex<T>
2017-07-12 13:48:12 -07:00
Keith Wansbrough
ef83e851e7
Add keywords and categories to subcrates too.
2017-07-11 09:30:42 +01:00
Josh Stone
9a9765a1db
complex: bump to 0.1.38
2017-06-08 23:46:08 -07:00
Josh Stone
1b895a8632
Get the default hasher indirectly
...
`DefaultHasher` wasn't stable until 1.13, at which point all the other
hashers were deprecated, so it's not easy for us to name a hasher type
to use for testing. However, `RandomState` has been stable since 1.7,
and it implements `BuildHasher` that has a `Hasher` associated type.
2017-05-06 22:23:31 -07:00
Patrick Jackson
71a15212a1
Replace deprecated SipHasher.
2017-04-28 18:48:50 -07:00
Josh Stone
fca95eaf42
num-complex-0.1.37
2017-04-09 06:18:09 -07:00
bluss
0cf3419b9e
complex: Use repr(C) and add documentation for what it means
2017-04-04 06:48:35 +02:00
Sigurd Kolltveit
2784b89837
Remove support for zero padding
2017-03-20 19:04:17 +01:00
Sigurd Kolltveit
e044cfbc6d
Simplify some lines
2017-03-18 17:24:00 +01:00
Sigurd Kolltveit
69943915ba
Add more string formatting tests
2017-03-18 16:04:53 +01:00
Sigurd Kolltveit
e2759e0321
Implement more formatting options for Complex
2017-03-18 16:04:53 +01:00
Sigurd Kolltveit
6113192e04
Add tests for more formatting options
2017-03-18 16:04:53 +01:00
Sigurd Kolltveit
f138f3da9e
Add formatting options for Complex
2017-03-18 16:04:53 +01:00
Josh Stone
1a66ee9e80
Add licenses to subcrates
2017-02-26 13:39:23 -08:00
Josh Stone
5531031252
complex: derive Eq
...
Fixes #245 .
2016-12-05 23:11:40 -08:00
bluss
ff2a350e98
Use the integer32 playground
2016-11-02 19:51:10 +01:00
bluss
e4a6956e5a
Add doc(html_root_url) and other doc attrs to each crate
...
Also update to use https instead of http. This avois mixed content
degradation on docs.rs.
The doc root URLs are correct as they are, the URL does not include the
crate name itself.
2016-11-01 02:14:23 +01:00
Josh Stone
c8ed8ff87b
num, bigint, complex, rational, traits: 0.1.35
2016-08-18 08:28:34 -07:00
Richard Janis Goldschmidt
a4ccb797cf
Allow serde version in [0.7,0.9)
2016-08-17 12:20:08 +02:00
Josh Stone
18b3cb425d
complex: bump to 0.1.33
2016-07-12 01:10:37 -07:00
Adam Crume
c7c974ec4b
Implement Default for Complex
...
Fixes #198
2016-06-29 18:33:19 -07:00
Richard Janis Goldschmidt
c8543380ea
Remove `use`ing serde. Import through `extern crate` is enough
2016-06-13 15:46:56 +02:00
Christian Liebhardt
24fcc1575a
Added powc, powf, log and expf methods for complex numbers
2016-04-15 11:28:43 -07:00
Josh Stone
dc733b1402
complex: add path-dependency versions
2016-04-14 00:29:19 -07:00
Josh Stone
2e8ce33d84
Bump all num crates to 0.1.32
2016-04-14 00:17:42 -07:00
Łukasz Jan Niemier
58b5fe5883
Serializers dependencies
2016-04-11 20:43:07 +02:00
Łukasz Jan Niemier
3d11940538
Better descriptions for subcrates
2016-04-10 10:31:22 +02:00
Josh Stone
8cb026e273
complex: update testing imports and hash
2016-03-25 17:50:51 -07:00
Łukasz Jan Niemier
7c0ab30bdc
Fix subpackages metadata
2016-03-11 10:22:26 +01:00
Łukasz Jan Niemier
ed076070e6
Extract complex
2016-03-11 01:06:37 +01:00