Commit Graph

2 Commits

Author SHA1 Message Date
arnaucube
a28c81f4ae Add TxCompressedData & V2 with some extra parsers for common 2020-08-21 15:35:31 +02:00
Toni Ramírez
db927ddd24 Add utils Float16-BigInt converters
* 16 bits fix encoding

* Types modification

* Rounding loss check

* Clean up a bit and add benchmarks

Unneded usage of big.Int has been removed

Conversion methods are now methods/constructors of Float16 to make the code
more idiomatic.

Co-authored-by: Toni Ramírez <toni@iden3.com>
Co-authored-by: arnaucube <root@arnaucube.com>
Co-authored-by: Eduard S <eduard@iden3.io>
2020-08-14 17:27:34 +02:00