Commit Graph

16 Commits

Author SHA1 Message Date
Simon Warta
fe50198086 Add Decimal.floor/.ceil 2022-04-26 17:05:27 +02:00
Simon Warta
e379ccd859 Add Decimal.zero and Decimal.one 2022-04-12 11:56:40 +02:00
Simon Warta
eb63957b08 Pull out IntegerStatic<T> 2020-09-30 14:28:19 +02:00
Simon Warta
5d73e64b17 Document default endianess 2020-09-30 14:03:56 +02:00
Simon Warta
25b2f456ca Add fromString to static interface 2020-09-30 13:59:10 +02:00
Simon Warta
7dfd019ef2 Create Uint32.fromBytes and Uint64.fromBytes 2020-09-30 13:50:39 +02:00
Simon Warta
c7e828bb79 Merge branch '0.22' 2020-09-17 15:07:15 +02:00
Abel Fernández
0975afcb4a Add Decimal.minus() unit tests 2020-09-15 10:07:10 +02:00
Abel Fernández
46680298c8 Add Decimal.minus() implementation 2020-09-15 10:06:53 +02:00
willclarktech
47018d2b6f
math: Change Decimal.multiply to operate on Uint classes 2020-08-19 10:45:50 +01:00
willclarktech
b94825f806
math: Add Decimal.multiply method and tests 2020-08-19 10:13:52 +01:00
Simon Warta
19882e6849 Add integer check to Uint64.fromNumber 2020-07-25 15:00:39 +02:00
willclarktech
9ac1994cb6
Add static Decimal.compare method 2020-06-10 15:40:51 +01:00
willclarktech
0ae83b0657
Add tests for Decimal comparison methods 2020-06-10 15:21:11 +01:00
willclarktech
8fbb7d4bcc
Add comparison methods to Decimal 2020-06-10 15:21:11 +01:00
Simon Warta
3cfad7a541 Add @cosmjs/encoding and @cosmjs/math 2020-06-09 17:46:03 +02:00