dfinity / motoko-base

The Motoko base library
Apache License 2.0
483 stars 99 forks source link

Add bindings for adjacent fix-width numerical conversions and flesh out docs #585

Closed kentosugama closed 1 year ago

kentosugama commented 1 year ago

Expose these: https://github.com/dfinity/motoko/pull/4139 Converting to adjacent fix-width types for:

And fleshing out the documentation for these modules to be up to standard with the Nat and Int modules.

kentosugama commented 1 year ago

Thank you for the review @luc-blaeser

crusso commented 1 year ago

Yes, nice work!

It's merged already but there's small typo in all the toText explanations. "Textual representation" -> "Textual representations". Also the reference to the original underscore syntax is because Motoko accepts underscores as thousand separators in literal (not commas). Probably not worth fixing.