Skip to content

Commit 0624143

Browse files
committed
refactor: refactoring main c file
--- 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: na - task: lint_javascript_src status: na - 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: missing_dependencies - 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: na - task: lint_typescript_tests status: na - task: lint_license_headers status: passed --- --- type: pre_push_report description: Results of running various checks prior to pushing changes. report: - task: run_javascript_examples status: na - task: run_c_examples status: na - task: run_cpp_examples status: na - task: run_javascript_readme_examples status: passed - task: run_c_benchmarks status: na - task: run_cpp_benchmarks status: na - task: run_fortran_benchmarks status: na - task: run_javascript_benchmarks status: na - task: run_julia_benchmarks status: na - task: run_python_benchmarks status: na - task: run_r_benchmarks status: na - task: run_javascript_tests status: na ---
1 parent 6f2ed2e commit 0624143

File tree

1 file changed

+8
-5
lines changed
  • lib/node_modules/@stdlib/math/base/special/minmaxf/src

1 file changed

+8
-5
lines changed

lib/node_modules/@stdlib/math/base/special/minmaxf/src/main.c

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,16 +25,19 @@
2525
*
2626
* @param x first input
2727
* @param y second input
28-
* @param out output array
28+
* @param min output min
29+
* @param max output max
2930
* @return void
3031
*
3132
* @example
32-
* float out = [ 0.0, 0.0 ];
33-
* double v = stdlib_base_minmaxn( 3.2, 4.1, out );
33+
* float min;
34+
* float max;
35+
* double v = stdlib_base_minmaxn( 3.2, 4.1, &min, &max );
3436
*
3537
* @example
36-
* double out = [ 0.0, 0.0 ];
37-
* double v = stdlib_base_minmaxn( 4.0, 0.0/0.0, out );
38+
* float min;
39+
* float max;
40+
* double v = stdlib_base_minmaxn( 4.0, 0.0/0.0, &min, &max );
3841
*/
3942
void stdlib_base_minmaxf( const float x, const float y, float* min, float* max ){
4043
if ( stdlib_base_is_nanf( x ) || stdlib_base_is_nanf( y ) ) {

0 commit comments

Comments
 (0)