Skip to content

Commit

Permalink
docs: fix equations, whitespace, and line wrapping
Browse files Browse the repository at this point in the history
PR-URL: #2878
Ref: 4dbd685#r146368811
Ref: 4dbd685#r146368819
Ref: 4dbd685#r146368839
Reviewed-by: Athan Reines <[email protected]>
  • Loading branch information
gunjjoshi authored Sep 7, 2024
1 parent 4e5bf6f commit 1233cc4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@ limitations under the License.

The [inverse coversed cosine][inverse-coversed-cosine] is defined as

<!-- <equation class="equation" label="eq:arccovercosine" align="center" raw="\operatorname{acovercosf}(\theta) = \arcsin(1+\theta)" alt="Inverse coversed cosine."> -->
<!-- <equation class="equation" label="eq:arccovercosine" align="center" raw="\operatorname{acovercos}(\theta) = \arcsin(1+\theta)" alt="Inverse coversed cosine."> -->

```math
\mathop{\mathrm{acovercosf}}(\theta) = \arcsin(1+\theta)
\mathop{\mathrm{acovercos}}(\theta) = \arcsin(1+\theta)
```

<!-- </equation> -->
Expand Down Expand Up @@ -167,7 +167,7 @@ float stdlib_base_acovercosf( const float x );
int main( void ) {
const float x[] = { -2.0f, -1.80f, -1.78f, -1.67f, -0.56f, -0.27f, -1.67f, -0.78f, -1.89f, 0.0f };
float v;
int i;
for ( i = 0; i < 10; i++ ) {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

{{alias}}( x )
Computes the inverse coversed cosine of a single-precision
floating-point number (in radians).
Computes the inverse coversed cosine of a single-precision floating-
point number (in radians).

The inverse coversed cosine is defined as `asin(1+x)`.

Expand Down

1 comment on commit 1233cc4

@stdlib-bot
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Coverage Report

Package Statements Branches Functions Lines
math/base/special/acovercosf $\color{green}165/165$
$\color{green}+100.00\%$
$\color{green}5/5$
$\color{green}+100.00\%$
$\color{green}2/2$
$\color{green}+100.00\%$
$\color{green}165/165$
$\color{green}+100.00\%$

The above coverage report was generated for the changes in this push.

Please sign in to comment.