Skip to content

Commit f63f8df

Browse files
committed
style: remove header section comments from C files
--- 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: passed - 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 ---
1 parent 5d83a20 commit f63f8df

File tree

9 files changed

+0
-39
lines changed

9 files changed

+0
-39
lines changed

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

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,6 @@
3939
#include "stdlib/constants/float64/pi.h"
4040
#include <stdint.h>
4141

42-
// MAIN //
43-
4442
/**
4543
* Computes the angle in the plane (in radians) between the positive x-axis and the ray from `(0,0)` to the point `(x,y)`.
4644
*

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

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,6 @@
1919
#include "stdlib/math/base/special/rad2deg.h"
2020
#include "stdlib/math/base/special/atan2.h"
2121

22-
// MAIN //
23-
2422
/**
2523
* Computes the angle in the plane (in degrees) between the positive x-axis and the ray from `(0,0)` to the point `(x,y)`.
2624
*

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

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,6 @@
5959
#include "stdlib/constants/float32/pinf.h"
6060
#include "stdlib/constants/float32/pi.h"
6161

62-
// MAIN //
63-
6462
/**
6563
* Computes the angle in the plane (in radians) between the positive x-axis and the ray from `(0,0)` to the point `(x,y)` as a single-precision floating-point number.
6664
*

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

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -29,15 +29,9 @@
2929
#include "stdlib/constants/float64/pinf.h"
3030
#include <stdint.h>
3131

32-
33-
// VARIABLES //
34-
3532
static const double MAX_INT = STDLIB_CONSTANT_FLOAT64_MAX_SAFE_INTEGER + 1.0;
3633
static const double HUGE_VALUE = 1.0e+308;
3734

38-
39-
// MAIN //
40-
4135
/**
4236
* Rounds a double-precision floating-point number to the nearest multiple of \\(10^n\\) toward positive infinity.
4337
*

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

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,16 +25,10 @@
2525
#include "stdlib/complex/float64/ctor.h"
2626
#include "stdlib/complex/float64/reim.h"
2727

28-
29-
// VARIABLES //
30-
3128
static const double LARGE_THRESHOLD = STDLIB_CONSTANT_FLOAT64_MAX * 0.5;
3229
static const double SMALL_THRESHOLD = STDLIB_CONSTANT_FLOAT64_SMALLEST_NORMAL * ( 2.0 / STDLIB_CONSTANT_FLOAT64_EPS );
3330
static const double RECIP_EPS_SQR = 2.0 / ( STDLIB_CONSTANT_FLOAT64_EPS * STDLIB_CONSTANT_FLOAT64_EPS );
3431

35-
36-
// MAIN //
37-
3832
/**
3933
* Computes the inverse of a double-precision complex floating-point number.
4034
*

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

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,16 +25,10 @@
2525
#include "stdlib/complex/float32/ctor.h"
2626
#include "stdlib/complex/float32/reim.h"
2727

28-
29-
// VARIABLES //
30-
3128
static const float LARGE_THRESHOLD = STDLIB_CONSTANT_FLOAT32_MAX * 0.5f;
3229
static const float SMALL_THRESHOLD = STDLIB_CONSTANT_FLOAT32_SMALLEST_NORMAL * ( 2.0f / STDLIB_CONSTANT_FLOAT32_EPS );
3330
static const float RECIP_EPS_SQR = 2.0f / ( STDLIB_CONSTANT_FLOAT32_EPS * STDLIB_CONSTANT_FLOAT32_EPS );
3431

35-
36-
// MAIN //
37-
3832
/**
3933
* Computes the inverse of a single-precision complex floating-point number.
4034
*

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

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -29,15 +29,9 @@
2929
#include "stdlib/constants/float64/ninf.h"
3030
#include <stdint.h>
3131

32-
33-
// VARIABLES //
34-
3532
static const double MAX_INT = STDLIB_CONSTANT_FLOAT64_MAX_SAFE_INTEGER + 1.0;
3633
static const double HUGE_VALUE = 1.0e+308;
3734

38-
39-
// MAIN //
40-
4135
/**
4236
* Rounds a double-precision floating-point number to the nearest multiple of `10^n` toward negative infinity.
4337
*

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

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,6 @@
1616
* limitations under the License.
1717
*/
1818

19-
// MODULES //
20-
2119
#include "stdlib/math/base/assert/is_nan.h"
2220
#include "stdlib/math/base/special/pow.h"
2321
#include "stdlib/math/base/assert/is_infinite.h"
@@ -29,9 +27,6 @@
2927
#include "stdlib/math/base/special/round.h"
3028
#include <stdint.h>
3129

32-
33-
// MAIN //
34-
3530
/**
3631
* Rounds a double-precision floating-point number to the nearest value with `n` significant figures.
3732
*

lib/node_modules/@stdlib/stats/base/dists/gamma/logpdf/src/main.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,6 @@
1616
* limitations under the License.
1717
*/
1818

19-
// MODULES //
20-
2119
#include "stdlib/math/base/assert/is_nan.h"
2220
#include "stdlib/math/base/special/ln.h"
2321
#include "stdlib/constants/float64/pinf.h"
@@ -160,8 +158,6 @@ static double gamma_p_derivative( const double a, const double x ) {
160158

161159
// END: gammma_p_derivative
162160

163-
// MAIN //
164-
165161
/**
166162
* Evaluates the logarithm of the probability density function (PDF) for a gamma distribution with shape parameter `alpha` and rate parameter `beta` at a value `x`.
167163
*

0 commit comments

Comments
 (0)