Skip to content

Commit ffc7f92

Browse files
committed
Auto-generated commit
1 parent 7b37670 commit ffc7f92

13 files changed

Lines changed: 18 additions & 19 deletions

File tree

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -726,6 +726,7 @@ A total of 93 issues were closed in this release:
726726

727727
<details>
728728

729+
- [`35566af`](https://github.com/stdlib-js/stdlib/commit/35566af0add64775e60422fd16e50e1bec3947e7) - **docs:** fix C examples in READMEs [(#11229)](https://github.com/stdlib-js/stdlib/pull/11229) _(by anee3, Athan Reines)_
729730
- [`48446bf`](https://github.com/stdlib-js/stdlib/commit/48446bf41b398ccab27b401cff5f1545dac0b279) - **fix:** rename header file [(#11232)](https://github.com/stdlib-js/stdlib/pull/11232) _(by Moh Zaid Khan)_
730731
- [`87b7d3d`](https://github.com/stdlib-js/stdlib/commit/87b7d3d057c46899fdd8339fe47b8720d2d8ab0c) - **test:** migrate `math/base/special/cosh` to use ULP based testing [(#11285)](https://github.com/stdlib-js/stdlib/pull/11285) _(by Shubham)_
731732
- [`69e1068`](https://github.com/stdlib-js/stdlib/commit/69e1068fd9ba96ccf49639e124c8d410b022b248) - **test:** adjust tolerance in `math/base/special/hyp2f1` [(#11351)](https://github.com/stdlib-js/stdlib/pull/11351) _(by Nirmal Jyoti Biswas)_

base/special/acotd/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ double out = stdlib_base_acotd( 0.0 );
114114
// returns 90.0
115115

116116
out = stdlib_base_acotd( 3.0 );
117-
// returns ~30.0
117+
// returns ~18.43495
118118
```
119119

120120
The function accepts the following arguments:

base/special/acotdf/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ float out = stdlib_base_acotdf( 0.0f );
114114
// returns 90.0f
115115

116116
out = stdlib_base_acotdf( 3.0f );
117-
// returns ~30.0f
117+
// returns 18.43495f
118118
```
119119

120120
The function accepts the following arguments:

base/special/ceiln/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -134,11 +134,11 @@ double y = stdlib_base_ceiln( 3.141592653589793, -2 );
134134
// returns 3.15
135135
136136
// If n = 0, `ceiln` behaves like `ceil`:
137-
double y = stdlib_base_ceiln( 3.141592653589793, 0 );
137+
y = stdlib_base_ceiln( 3.141592653589793, 0 );
138138
// returns 4.0
139139
140140
// Round a value to the nearest thousand:
141-
double y = stdlib_base_ceiln( 12368.0, 3 );
141+
y = stdlib_base_ceiln( 12368.0, 3 );
142142
// returns 13000.0
143143
```
144144

base/special/cflipsign/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -193,6 +193,7 @@ int main( void ) {
193193
stdlib_complex128_reim( v, &re1, &im1 );
194194
stdlib_complex128_reim( y, &re2, &im2 );
195195
printf( "cflipsign(%lf + %lfi, %lf) = %lf + %lfi\n", re1, im1, -1.0, re2, im2 );
196+
};
196197
}
197198
```
198199

base/special/copysignf/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ Returns a [single-precision floating-point number][ieee754] with the magnitude o
124124
float v = stdlib_base_copysignf( -3.0f, 10.0f );
125125
// returns 3.0f
126126

127-
float v = stdlib_base_copysignf( 3.0f, -1.0f );
127+
v = stdlib_base_copysignf( 3.0f, -1.0f );
128128
// returns -3.0f
129129
```
130130

base/special/cphase/README.md

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -158,17 +158,14 @@ int main( void ) {
158158
};
159159
160160
stdlib_complex128_t v;
161-
stdlib_complex128_t y;
162-
double re1;
163-
double im1;
164-
double re2;
165-
double im2;
161+
double re;
162+
double im;
163+
double y;
166164
int i;
167165
for ( i = 0; i < 4; i++ ) {
168166
v = x[ i ];
169167
y = stdlib_base_cphase( v );
170-
stdlib_complex128_reim( v, &re1, &im1 );
171-
stdlib_complex128_reim( y, &re2, &im2 );
168+
stdlib_complex128_reim( v, &re, &im );
172169
printf( "cphase(%lf + %lfi) = %lf\n", re, im, y );
173170
}
174171
}

base/special/flipsignf/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ Returns a [single-precision floating-point number][ieee754] with the magnitude o
127127
float v = stdlib_base_flipsignf( -3.0f, 10.0f );
128128
// returns -3.0f
129129

130-
float v = stdlib_base_flipsignf( -3.0f, -1.0f );
130+
v = stdlib_base_flipsignf( -3.0f, -1.0f );
131131
// returns 3.0f
132132
```
133133

base/special/fmod/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ Evaluates the modulus function.
132132

133133
```c
134134
double out = stdlib_base_fmod( 8.9, 3.0 );
135-
// returns 2.9
135+
// returns ~2.9
136136

137137
out = stdlib_base_fmod( 4.0, 2.0 );
138138
// returns 0.0

base/special/negalucas/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ Computes the nth [negaLucas number][lucas-number].
192192

193193
```c
194194
double out = stdlib_base_negalucas( 0.0 );
195-
// returns 0.0
195+
// returns 2.0
196196

197197
out = stdlib_base_negalucas( -1.0 );
198198
// returns -1.0

0 commit comments

Comments
 (0)