Skip to content

Commit 24a53ee

Browse files
authored
refactor: use stdlib_base_pow instead of built-in
Signed-off-by: Gunj Joshi <[email protected]>
1 parent 584cd8d commit 24a53ee

File tree

1 file changed

+1
-3
lines changed
  • lib/node_modules/@stdlib/math/base/special/ldexp/examples/c

1 file changed

+1
-3
lines changed

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

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,11 @@
1919

2020
#include "stdlib/math/base/special/ldexp.h"
2121
#include "stdlib/math/base/special/frexp.h"
22+
#include "stdlib/math/base/special/pow.h"
2223
#include <stdlib.h>
2324
#include <stdint.h>
2425
#include <stdio.h>
2526
#include <inttypes.h>
26-
#include <math.h>
27-
28-
// TODO: replace use of `pow` with stdlib_base_pow()
2927

3028
static double rand_double() {
3129
int r = rand();

0 commit comments

Comments
 (0)