client/base/port.h
inline int fpclassify_float(float x) {
  uint32 bitwise_representation;
  memcpy(&bitwise_representation, &x, 4);
  if ((bitwise_representation & 0x7f800000) == 0 &&
      (bitwise_representation & 0x007fffff) != 0)
    return FP_SUBNORMAL;
  return fpclassify_double(x);
}
// This function handle the special subnormal case for float; it will
// become a normal number while casting to double.
// bit_cast is avoided to simplify dependency and to create a code that is
// easy to deploy in C code
This function handle the special subnormal case for float; it will
become a normal number while casting to double.
bit_cast is avoided to simplify dependency and to create a code that is
easy to deploy in C code
This function handle the special subnormal case for float ; it will become a normal number while casting to double . bit_cast is avoided to simplify dependency and to create a code that is easy to deploy in C code
inline int fpclassify_float(float x) {
  uint32 bitwise_representation;
  memcpy(&bitwise_representation, &x, 4);
  if ((bitwise_representation & 0x7f800000) == 0 &&
      (bitwise_representation & 0x007fffff) != 0)
    return FP_SUBNORMAL;
  return fpclassify_double(x);
}
inline int fpclassify_float ( float x ) { uint32 bitwise_representation ; memcpy ( & bitwise_representation , & x , 4 ) ; if ( ( bitwise_representation & 0x7f800000 ) == 0 && ( bitwise_representation & 0x007fffff ) != 0 ) return FP_SUBNORMAL ; return fpclassify_double ( x ) ; }
This function handle the special subnormal case for float; it will
become a normal number while casting to double.
This function handle the special subnormal case for float ; it will become a normal number while casting to double .