mirror of
https://github.com/lcn2/calc.git
synced 2025-08-19 01:13:27 +03:00
change error printing from errnum to errsym
When printing an error, calc used to print the errnum (error number): ; 1/0 Error 10001 Calc now prints the errsym (errsym): ; 1/0 Error E_DIVBYZERO Added errsym E_LN_3 for ln(0). Added errsym E_LOG_5 for log(0). Added errsym E_LOG2_4 for log2(0). Added errsym E_LOGN_6 for logn(0,base).
This commit is contained in:
@@ -23,7 +23,7 @@ EXAMPLE
|
||||
1.57079632679489661923 0.72972765622696636345 0.52359877559829887308
|
||||
|
||||
; print aexcsc(-0.5), aexcsc(-1)
|
||||
1.57079632679489661923-1.31695789692481670863i Error 10454
|
||||
1.57079632679489661923-1.31695789692481670863i Error E_AEXCSC_3
|
||||
|
||||
; print aexcsc(.5, 1e-5), aexcsc(.5, 1e-10), aexcsc(.5, 1e-15)
|
||||
0.72973 0.7297276562 0.729727656226966
|
||||
|
Reference in New Issue
Block a user