Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

2015 008 Additional math functions

John Reppy edited this pageAug 22, 2015 ·5 revisions

Proposal 2015-008

Additional math functions

Author: Andreas Rossberg
Last revised: August 22, 2015
Status: proposed
Discussion:issue #9


Synopsis

signature MATH

This proposal adds the inverse hyperbolic functions to theMATH signature.

Interface

val asinh : real -> realval acosh : real -> realval atanh : real -> real

Description

  • asinh x
    returns the arc hyperbolic sine ofx, expressed in radians. It is the inverse of thesinh function.

  • acosh x
    returns the nonnegative arc hyperbolic cosine ofx, expressed in radians.It is the inverse of thecosh function.Ifx < 1.0, then theDomain exception is raised.

  • atanh x
    returns the arc hyperbolic tangent ofx, expressed in radians.It is the inverse of thetanh function.TheDomain exception is raised ifx <= ~1.0 or1.0 <= x.

Rationale

These functions are fairly standard in contemporary languages' math libraries.

Impact

The addition of these functions should not affect existing programs.


History

  • [2015-08-22] Added more detailed description of functions and made some formattingchanges for consistency.[JHR].

  • [2015-08-16] Proposed


Creative Commons License
This document is licensed under a [Creative Commons Attribution 4.0 International License](http://creativecommons.org/licenses/by/4.0/).

Clone this wiki locally


[8]ページ先頭

©2009-2025 Movatter.jp