We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 60d2beb commit b9593caCopy full SHA for b9593ca
lib/node_modules/@stdlib/math/base/special/expf/examples/c/Makefile
@@ -70,7 +70,7 @@ else
70
endif
71
72
# List of includes (e.g., `-I /foo/bar -I /beep/boop/include`):
73
-INCLUDE ?=
+INCLUDE ?=
74
75
# List of source files:
76
SOURCE_FILES ?=
lib/node_modules/@stdlib/math/base/special/expf/examples/c/example.c
@@ -26,7 +26,7 @@ int main( void ) {
26
int i;
27
28
for ( i = 0; i < 100; i++ ) {
29
- x = ( (float)rand() / (float)RAND_MAX ) * 100.0f;
+ x = ( rand() / RAND_MAX ) * 100.0;
30
v = stdlib_base_expf( x );
31
printf( "e^%f = %f\n", x, v );
32
}
0 commit comments