Skip to content

Commit 4ca929e

Browse files
authored
style: add decimal
Signed-off-by: Athan <[email protected]>
1 parent b76c750 commit 4ca929e

File tree

1 file changed

+1
-1
lines changed
  • lib/node_modules/@stdlib/math/base/special/bernoullif/src

1 file changed

+1
-1
lines changed

lib/node_modules/@stdlib/math/base/special/bernoullif/src/main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ float stdlib_base_bernoullif( const float n ) {
7676
if ( !stdlib_base_is_nonnegative_integerf( n ) ) {
7777
return 0.0f / 0.0f; // NaN
7878
}
79-
if ( n == 1 ) {
79+
if ( n == 1.0 ) {
8080
return 0.5f;
8181
}
8282
if ( stdlib_base_is_oddf( n ) ) {

0 commit comments

Comments
 (0)