Skip to content

Commit 7c8d0ce

Browse files
authored
fix: missing headers in C examples
PR-URL: #1958 Reviewed-by: Athan Reines <kgryte@gmail.com> Reviewed-by: Pranav Goswami <goswami.4@iitj.ac.in>
1 parent c0993fa commit 7c8d0ce

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

lib/node_modules/@stdlib/math/base/special/bernoulli/examples/c/example.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818

1919
#include "stdlib/math/base/special/bernoulli.h"
2020
#include <stdio.h>
21+
#include <stdint.h>
2122

2223
int main( void ) {
2324
int32_t i;

lib/node_modules/@stdlib/math/base/special/fast/pow-int/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -207,6 +207,7 @@ double stdlib_base_fast_pow( const double x, const int32_t y );
207207
#include "stdlib/math/base/special/fast/pow.h"
208208
#include <stdlib.h>
209209
#include <stdio.h>
210+
#include <stdint.h>
210211
211212
int main( void ) {
212213
const double x[] = { 3.14, 2.0, 2.0, 0.0 };

lib/node_modules/@stdlib/math/base/special/fast/pow-int/examples/c/example.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818

1919
#include "stdlib/math/base/special/fast/pow.h"
2020
#include <stdio.h>
21+
#include <stdint.h>
2122

2223
int main( void ) {
2324
const double x[] = { 3.14, 2.0, 2.0, 0.0 };

0 commit comments

Comments
 (0)