Skip to content

Commit

Permalink
fix: missing headers in C examples
Browse files Browse the repository at this point in the history
PR-URL: 	#1958
Reviewed-by: Athan Reines <kgryte@gmail.com>
Reviewed-by: Pranav Goswami <goswami.4@iitj.ac.in>
  • Loading branch information
performant23 authored Mar 19, 2024
1 parent c0993fa commit 7c8d0ce
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@

#include "stdlib/math/base/special/bernoulli.h"
#include <stdio.h>
#include <stdint.h>

int main( void ) {
int32_t i;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,7 @@ double stdlib_base_fast_pow( const double x, const int32_t y );
#include "stdlib/math/base/special/fast/pow.h"
#include <stdlib.h>
#include <stdio.h>
#include <stdint.h>
int main( void ) {
const double x[] = { 3.14, 2.0, 2.0, 0.0 };
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@

#include "stdlib/math/base/special/fast/pow.h"
#include <stdio.h>
#include <stdint.h>

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

1 comment on commit 7c8d0ce

@stdlib-bot
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Coverage Report

Package Statements Branches Functions Lines
math/base/special/bernoulli $\color{green}235/235$
$\color{green}+100.00\%$
$\color{green}14/14$
$\color{green}+100.00\%$
$\color{green}2/2$
$\color{green}+100.00\%$
$\color{green}235/235$
$\color{green}+100.00\%$
math/base/special/fast/pow-int $\color{green}322/322$
$\color{green}+100.00\%$
$\color{green}18/18$
$\color{green}+100.00\%$
$\color{green}2/2$
$\color{green}+100.00\%$
$\color{green}322/322$
$\color{green}+100.00\%$

The above coverage report was generated for the changes in this push.

Please sign in to comment.