tiffany352 / rink-rs

Unit conversion tool and library written in rust
https://rinkcalc.app/about
GNU General Public License v3.0
442 stars 28 forks source link

Infinite loop in complex log #68

Closed Shizcow closed 4 years ago

Shizcow commented 4 years ago

If the following is input, an infinite loop occurs:
log10(-1)

The expected result is 1.36437635 i. If complex numbers won't be supported for a while, could we at least get an error here?