mirror of
https://github.com/lcn2/calc.git
synced 2025-08-16 01:03:29 +03:00
add half trigonometric functions
Fixed SEE ALSO typo in help randperm. Added the following new trigonometric functions: haversin(x [,eps]) half versed trigonometric sine hacoversin(x [,eps]) half coversed trigonometric sine havercos(x [,eps]) half versed trigonometric cosine hacovercos(x [,eps]) half coversed trigonometric cosine ahaversin(x [,eps]) inverse half versed trigonometric sine ahacoversin(x [,eps]) inverse half coversed trigonometric sine ahavercos(x [,eps]) inverse half versed trigonometric cosine ahacovercos(x [,eps]) inverse half coversed trigonometric cosine Fixed calc regression test 42dd to set the display value back to 20. Added test 95dd and test9500.trigeq.cal to the calc regression test suite to perform extensive test of trigonometric functions. Fix and improve recently comments and variable names added new trigonometric functions in comfunc.c, func.c, qtrans.c.
This commit is contained in:
24
errtbl.c
24
errtbl.c
@@ -705,6 +705,30 @@ CONST struct errtbl error_table[] = {
|
||||
{ 10554, "E_ERRSYM_3", "String argument is not a valid E_STRING for errsym" },
|
||||
{ 10555, "E_ERRSYM_4", "Numeric argument is not an integer for errsym" },
|
||||
{ 10556, "E_ERRSYM_5", "Unable to create a valid E_STRING from the errnum for errsym" },
|
||||
{ 10557, "E_HAVERSIN_1", "Bad epsilon for haversin" },
|
||||
{ 10558, "E_HAVERSIN_2", "Bad first argument for haversin" },
|
||||
{ 10559, "E_HAVERSIN_3", "Too-large im(argument) for haversin" },
|
||||
{ 10560, "E_AHAVERSIN_1", "Bad epsilon for ahaversin" },
|
||||
{ 10561, "E_AHAVERSIN_2", "Bad first argument for ahaversin" },
|
||||
{ 10562, "E_AHAVERSIN_3", "Too-large im(argument) for ahaversin" },
|
||||
{ 10563, "E_HACOVERSIN_1", "Bad epsilon for hacoversin" },
|
||||
{ 10564, "E_HACOVERSIN_2", "Bad first argument for hacoversin" },
|
||||
{ 10565, "E_HACOVERSIN_3", "Too-large im(argument) for hacoversin" },
|
||||
{ 10566, "E_AHACOVERSIN_1", "Bad epsilon for ahacoversin" },
|
||||
{ 10567, "E_AHACOVERSIN_2", "Bad first argument for achaoversin" },
|
||||
{ 10568, "E_AHACOVERSIN_3", "Too-large im(argument) for ahacoversin" },
|
||||
{ 10569, "E_HAVERCOS_1", "Bad epsilon for havercos" },
|
||||
{ 10570, "E_HAVERCOS_2", "Bad first argument for havercos" },
|
||||
{ 10571, "E_HAVERCOS_3", "Too-large im(argument) for havercos" },
|
||||
{ 10572, "E_AHAVERCOS_1", "Bad epsilon for ahavercos" },
|
||||
{ 10573, "E_AHAVERCOS_2", "Bad first argument for ahavercos" },
|
||||
{ 10574, "E_AHAVERCOS_3", "Too-large im(argument) for ahavercos" },
|
||||
{ 10575, "E_HACOVERCOS_1", "Bad epsilon for hacovercos" },
|
||||
{ 10576, "E_HACOVERCOS_2", "Bad first argument for hacovercos" },
|
||||
{ 10577, "E_HACOVERCOS_3", "Too-large im(argument) for hacovercos" },
|
||||
{ 10578, "E_AHACOVERCOS_1", "Bad epsilon for ahacovercos" },
|
||||
{ 10579, "E_AHACOVERCOS_2", "Bad first argument for achaovercos" },
|
||||
{ 10580, "E_AHACOVERCOS_3", "Too-large im(argument) for ahacovercos" },
|
||||
/* IMPORTANT NOTE: add new entries above here and be sure their errnum numeric value is consecutive! */
|
||||
|
||||
/* The next NULL entry must be last */
|
||||
|
Reference in New Issue
Block a user