Skip to content

Commit b9593ca

Browse files
feat(math): add math/base/special/expf
1 parent 60d2beb commit b9593ca

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/node_modules/@stdlib/math/base/special/expf/examples/c/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ else
7070
endif
7171

7272
# List of includes (e.g., `-I /foo/bar -I /beep/boop/include`):
73-
INCLUDE ?=
73+
INCLUDE ?=
7474

7575
# List of source files:
7676
SOURCE_FILES ?=

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ int main( void ) {
2626
int i;
2727

2828
for ( i = 0; i < 100; i++ ) {
29-
x = ( (float)rand() / (float)RAND_MAX ) * 100.0f;
29+
x = ( rand() / RAND_MAX ) * 100.0;
3030
v = stdlib_base_expf( x );
3131
printf( "e^%f = %f\n", x, v );
3232
}

0 commit comments

Comments
 (0)