Skip to content

Commit b867ca8

Browse files
committed
chore: revert non-essential edits
--- type: pre_commit_static_analysis_report description: Results of running static analysis checks when committing changes. report: - task: lint_filenames status: passed - task: lint_editorconfig status: passed - task: lint_markdown status: na - task: lint_package_json status: na - task: lint_repl_help status: passed - task: lint_javascript_src status: passed - task: lint_javascript_cli status: na - task: lint_javascript_examples status: na - task: lint_javascript_tests status: na - task: lint_javascript_benchmarks status: na - task: lint_python status: na - task: lint_r status: na - task: lint_c_src status: na - task: lint_c_examples status: na - task: lint_c_benchmarks status: na - task: lint_c_tests_fixtures status: na - task: lint_shell status: na - task: lint_typescript_declarations status: passed - task: lint_typescript_tests status: na - task: lint_license_headers status: passed ---
1 parent f9bd444 commit b867ca8

File tree

4 files changed

+18
-20
lines changed

4 files changed

+18
-20
lines changed

lib/node_modules/@stdlib/math/base/special/cceilf/docs/repl.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

22
{{alias}}( z )
3-
Rounds a single-precision complex floating-point number toward positive
4-
infinity.
3+
Rounds each component of a single-precision complex floating-point number
4+
toward positive infinity.
55

66
Parameters
77
----------

lib/node_modules/@stdlib/math/base/special/cceilf/docs/types/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
import { Complex64 } from '@stdlib/types/complex';
2424

2525
/**
26-
* Rounds a single-precision complex floating-point number toward positive infinity.
26+
* Rounds each component of a single-precision complex floating-point number toward positive infinity.
2727
*
2828
* @param z - input value
2929
* @returns result

lib/node_modules/@stdlib/math/base/special/cceilf/lib/main.js

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@
2222

2323
var Complex64 = require( '@stdlib/complex/float32/ctor' );
2424
var ceilf = require( '@stdlib/math/base/special/ceilf' );
25-
var real = require( '@stdlib/complex/float32/real' );
26-
var imag = require( '@stdlib/complex/float32/imag' );
25+
var realf = require( '@stdlib/complex/float32/real' );
26+
var imagf = require( '@stdlib/complex/float32/imag' );
2727

2828

2929
// MAIN //
@@ -36,20 +36,20 @@ var imag = require( '@stdlib/complex/float32/imag' );
3636
*
3737
* @example
3838
* var Complex64 = require( '@stdlib/complex/float32/ctor' );
39-
* var real = require( '@stdlib/complex/float32/real' );
40-
* var imag = require( '@stdlib/complex/float32/imag' );
39+
* var realf = require( '@stdlib/complex/float32/real' );
40+
* var imagf = require( '@stdlib/complex/float32/imag' );
4141
*
4242
* var v = cceilf( new Complex64( -1.5, 2.5 ) );
4343
* // returns <Complex64>
4444
*
45-
* var re = real( v );
45+
* var re = realf( v );
4646
* // returns -1.0
4747
*
48-
* var im = imag( v );
48+
* var im = imagf( v );
4949
* // returns 3.0
5050
*/
5151
function cceilf( z ) {
52-
return new Complex64( ceilf( real( z ) ), ceilf( imag( z ) ) );
52+
return new Complex64( ceilf( realf( z ) ), ceilf( imagf( z ) ) );
5353
}
5454

5555

lib/node_modules/@stdlib/math/base/special/cceilf/lib/native.js

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@
2020

2121
// MODULES //
2222

23-
var Complex64 = require( '@stdlib/complex/float32/ctor' );
2423
var addon = require( './../src/addon.node' );
2524

2625

@@ -35,24 +34,23 @@ var addon = require( './../src/addon.node' );
3534
*
3635
* @example
3736
* var Complex64 = require( '@stdlib/complex/float32/ctor' );
38-
* var real = require( '@stdlib/complex/float32/real' );
39-
* var imag = require( '@stdlib/complex/float32/imag' );
37+
* var realf = require( '@stdlib/complex/float32/real' );
38+
* var imagf = require( '@stdlib/complex/float32/imag' );
4039
*
41-
* var v = cceil( new Complex64( -1.5, 2.5 ) );
40+
* var v = cceilf( new Complex64( -1.5, 2.5 ) );
4241
* // returns <Complex64>
4342
*
44-
* var re = real( v );
43+
* var re = realf( v );
4544
* // returns -1.0
4645
*
47-
* var im = imag( v );
46+
* var im = imagf( v );
4847
* // returns 3.0
4948
*/
50-
function cceil( z ) {
51-
var v = addon( z );
52-
return new Complex64( v.re, v.im );
49+
function cceilf( z ) {
50+
return addon( z );
5351
}
5452

5553

5654
// EXPORTS //
5755

58-
module.exports = cceil;
56+
module.exports = cceilf;

0 commit comments

Comments
 (0)