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 30fe769 commit 5a0da6cCopy full SHA for 5a0da6c
lib/node_modules/@stdlib/math/base/special/logitf/src/main.c
@@ -35,16 +35,16 @@
35
*/
36
float stdlib_base_logitf( const float p ) {
37
if ( stdlib_base_is_nanf( p ) ) {
38
- return 0.0 / 0.0; // NaN
+ return 0.0f / 0.0f; // NaN
39
}
40
if ( !stdlib_base_is_probabilityf( p ) ) {
41
42
43
- if ( p == 0.0 ) {
+ if ( p == 0.0f ) {
44
return STDLIB_CONSTANT_FLOAT32_NINF;
45
46
- if ( p == 1.0 ) {
+ if ( p == 1.0f ) {
47
return STDLIB_CONSTANT_FLOAT32_PINF;
48
49
- return stdlib_base_lnf( p / ( 1.0 - p ) );
+ return stdlib_base_lnf( p / ( 1.0f - p ) );
50
0 commit comments