mirror of
https://github.com/lcn2/calc.git
synced 2025-08-16 01:03:29 +03:00
fix format of examples in help/log2 and help/logn
This commit is contained in:
@@ -25,10 +25,10 @@ EXAMPLE
|
|||||||
1 2 10 500
|
1 2 10 500
|
||||||
|
|
||||||
; print log(127), log(23209), log(2^17-19)
|
; print log(127), log(23209), log(2^17-19)
|
||||||
~ 6.98868468677216585326 ~ 14.50239674255407864468 ~ 16.99979085393743521984
|
~6.98868468677216585326 ~14.50239674255407864468 ~16.99979085393743521984
|
||||||
|
|
||||||
; print log(2+3i, 1e-5)
|
; print log(2+3i, 1e-5)
|
||||||
~ 1.85020558320709803073 + ~ 1.41786049195700786266i
|
~1.85020558320709803073+~1.41786049195700786266i
|
||||||
|
|
||||||
LIMITS
|
LIMITS
|
||||||
x != 0
|
x != 0
|
||||||
|
@@ -22,16 +22,16 @@ DESCRIPTION
|
|||||||
|
|
||||||
EXAMPLE
|
EXAMPLE
|
||||||
; print logn(15.625, 2.5), logn(15.625, 2.5, 1e-25)
|
; print logn(15.625, 2.5), logn(15.625, 2.5, 1e-25)
|
||||||
~ 3.00000000000000000001 3
|
~3.00000000000000000001 3
|
||||||
|
|
||||||
; print logn(127, 1/13), log(23209, sqrt(3)), logn(2^17-19, 17)
|
; print logn(127, 1/13), log(23209, sqrt(3)), logn(2^17-19, 17)
|
||||||
~ -1.88860925162778125111 6 ~ 4.15900804831225415076
|
~-1.88860925162778125111 6 ~4.15900804831225415076
|
||||||
|
|
||||||
; print logn(-1, 1i), logn(2+3i, 3i+2), logn(2+3i, 3i)
|
; print logn(-1, 1i), logn(2+3i, 3i+2), logn(2+3i, 3i)
|
||||||
2 1 ~ 0.80360095345990217753 - ~ 0.25441159318835790311i
|
2 1 ~0.80360095345990217753-~0.25441159318835790311i
|
||||||
|
|
||||||
; print logn(22+3i, 3i, 1e-50)
|
; print logn(22+3i, 3i, 1e-50)
|
||||||
~ 0.98489914201047045408 - ~ 1.28484657882287682702i
|
~0.98489914201047045408-~1.28484657882287682702i
|
||||||
|
|
||||||
LIMITS
|
LIMITS
|
||||||
x != 0
|
x != 0
|
||||||
|
Reference in New Issue
Block a user