X-Git-Url: http://git.shiar.net/descalc.git/blobdiff_plain/7db84757c6ba80836bc8c2cc9de326f16862a2cd..HEAD:/33_trig.pm diff --git a/33_trig.pm b/33_trig.pm index 7736e2d..8efd1f0 100644 --- a/33_trig.pm +++ b/33_trig.pm @@ -1,5 +1,7 @@ # trigonometry for DCT, by Shiar +# 1.13.0 20041104 - new addmenu() call +# 1.11.2 200411032120 - check for menu module before addmenu() # 1.11.1 200410282330 - cardial mode setting; rad/deg to switch to radians/degrees # - convert from/to radians for trig commands if rad mode set # 1.11.0 200410152320 - a?(sin|cos|tan)h? actions from math; links in main submenu trig @@ -47,15 +49,15 @@ push @{$hook{postaction}}, sub { $stack[0] *= 360/$pi if $_[1] =~ /^a(?:sin|cos|tan)h?$/; }; # postaction -addmenu(["main", 0], "trig", #todo: in math, not in main +addmenu("math", "trig", qw(sin cos tan asin acos atan), qw(sinh cosh tanh asinh acosh atanh), qw(expm lnp1), -); +); # addmenu return { author => "Shiar", title => "trigonometry", - version => "1.11.1", + version => "1.13", };