Skip to content

Commit 206b6fd

Browse files
committed
Auto-generated commit
1 parent 3ae1c99 commit 206b6fd

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ out = isEqual( z1, z2 );
155155
#include "stdlib/complex/base/assert/is_equal.h"
156156
```
157157

158-
#### stdlib_complex_is_equal( z1, z2 )
158+
#### stdlib_base_complex128_is_equal( z1, z2 )
159159

160160
Tests whether double-precision complex floating-point numbers are equal.
161161

@@ -166,7 +166,7 @@ Tests whether double-precision complex floating-point numbers are equal.
166166
stdlib_complex128_t z1 = stdlib_complex128( 5.0, 2.0 );
167167
stdlib_complex128_t z2 = stdlib_complex128( 5.0, 2.0 );
168168

169-
bool v = stdlib_complex_is_equal( z1, z2 );
169+
bool v = stdlib_base_complex128_is_equal( z1, z2 );
170170
```
171171

172172
The function accepts the following arguments:
@@ -175,7 +175,7 @@ The function accepts the following arguments:
175175
- **z2**: `[in] stdlib_complex128_t` second double-precision complex floating-point number.
176176

177177
```c
178-
bool stdlib_complex_is_equal( const stdlib_complex128_t z1, const stdlib_complex128_t z2 );
178+
bool stdlib_base_complex128_is_equal( const stdlib_complex128_t z1, const stdlib_complex128_t z2 );
179179
```
180180
181181
</section>
@@ -213,7 +213,7 @@ int main( void ) {
213213
bool v;
214214
int i;
215215
for ( i = 0; i < 4; i++ ) {
216-
v = stdlib_complex_is_equal( z[ i ], z[ i ] );
216+
v = stdlib_base_complex128_is_equal( z[ i ], z[ i ] );
217217
printf( "Equal? %s\n", ( v ) ? "True" : "False" );
218218
}
219219
}

examples/c/example.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ int main( void ) {
3232
bool v;
3333
int i;
3434
for ( i = 0; i < 4; i++ ) {
35-
v = stdlib_complex_is_equal( z[ i ], z[ i ] );
35+
v = stdlib_base_complex128_is_equal( z[ i ], z[ i ] );
3636
printf( "Equal? %s\n", ( v ) ? "True" : "False" );
3737
}
3838
}

include/stdlib/complex/base/assert/is_equal.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ extern "C" {
3232
/**
3333
* Tests whether two double-precision complex floating-point numbers are equal.
3434
*/
35-
bool stdlib_complex_is_equal( const stdlib_complex128_t z1, const stdlib_complex128_t z2 );
35+
bool stdlib_base_complex128_is_equal( const stdlib_complex128_t z1, const stdlib_complex128_t z2 );
3636

3737
#ifdef __cplusplus
3838
}

src/main.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,9 @@
3535
* stdlib_complex128_t z1 = stdlib_complex128( 5.0, 2.0 );
3636
* stdlib_complex128_t z2 = stdlib_complex128( 5.0, 2.0 );
3737
*
38-
* bool v = stdlib_complex_is_equal( z1, z2 );
38+
* bool v = stdlib_base_complex128_is_equal( z1, z2 );
3939
*/
40-
bool stdlib_complex_is_equal( const stdlib_complex128_t z1, const stdlib_complex128_t z2 ) {
40+
bool stdlib_base_complex128_is_equal( const stdlib_complex128_t z1, const stdlib_complex128_t z2 ) {
4141
double re1;
4242
double re2;
4343
double im1;

0 commit comments

Comments
 (0)