Skip to content

Commit

Permalink
Update ephp_lib_math.erl
Browse files Browse the repository at this point in the history
Closes #8
  • Loading branch information
manuel-rubio authored Jan 28, 2024
1 parent d32fc68 commit 70396fa
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/ephp_lib_math.erl
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,6 @@ php_atan(_Context, _Line, {_, Number}) ->

-spec php_atanh(ephp:context_id(), line(), {any(), number()}) -> float().
php_atanh(_Context, _Line, {_, Number}) ->
% math:atanh(Number); % FIXME: the implementation is not reliable
1 / 2 * math:log((1 + Number) / (1 - Number)).

-spec php_atan2(ephp:context_id(), line(), {any(), number()}, {any(), number()}) ->
Expand Down

0 comments on commit 70396fa

Please sign in to comment.