Jeff Epler
0526762f47
add some doctests for the special values too
2022-02-15 09:53:28 -06:00
Jeff Epler
c98ad66398
fix for pylint
2022-02-15 09:50:17 -06:00
Cedar Grove Maker Studios
4f5be4b3c2
change asin(-1) result to match math.asin(-1) = -pi/2 radians
...
```>>> math.asin(-1)
-1.5708
>>> Decimal.asin(-1)
Decimal('-1.570796326794896619231321692')```
also updated `acos` example; verified other examples, as well
2022-02-14 19:14:14 -08:00
Cedar Grove Maker Studios
5dbf41709b
update asin(-1) to equal -pi/2 rads to be consistent with math.asin
...
Also update acos example to reflect actual result rounded to 28 digits. Verified other examples, as well.
2022-02-14 19:05:09 -08:00
Cedar Grove Maker Studios
6424dcbdcf
address requested changes
...
3/2 pi rad is equal to -pi/2 rad
other changes were caused by file editing issues. sorry about that.
2022-02-14 16:26:51 -08:00
Cedar Grove Maker Studios
75b919036c
Hardwire return values for domain limits of arcsin and arccos
...
fix for issue #7
https://github.com/jepler/Jepler_CircuitPython_udecimal/issues/7
2022-02-14 11:32:46 -08:00
ec6f61c6ac
utrig: Fix several bugs reported by @cradek
2020-09-19 09:49:24 -05:00
1817253b81
utrig: Fix logb(0)
2020-09-18 19:45:02 -05:00
63b12a2bf5
a different way to monkeypatch Decimal
2020-09-06 21:47:14 -05:00
a46b1926f9
Doc improvements
2020-09-06 21:29:46 -05:00
9f160966c7
run black, assuage pylint
2020-09-06 15:49:39 -05:00
483088a9fc
Initial commit
2020-09-06 15:39:24 -05:00