Closed ionspin closed 9 months ago
WASM platform is experimental, use with caution. Note that currently wasm returns a value after converting to IEEE-754 number, unlike other platforms (JVM, JS, Native), so if you use:
val a = BigDecimal.fromFloat(0.000000000000123f)
expect a to be 1.2299999885799495E-13.
a
1.2299999885799495E-13
Fixes #273 Need to recreate GitHub runners to run tests and publish a snapshot before merging this
WASM platform is experimental, use with caution. Note that currently wasm returns a value after converting to IEEE-754 number, unlike other platforms (JVM, JS, Native), so if you use:
expect
a
to be1.2299999885799495E-13
.