src/codec/memcomparable_format.h
/*
   Function of type rdb_index_field_unpack_t

   Unpack a double by doing the reverse action of ChangeDoubleForSort
   (sql/filesort.cc).  Note that this only works on IEEE values.
   Note also that this code assumes that NaN and +/-Infinity are never
   allowed in the database.
*/
Function of type rdb_index_field_unpack_t
Unpack a double by doing the reverse action of ChangeDoubleForSort
(sql/filesort.cc).  Note that this only works on IEEE values.
Note also that this code assumes that NaN and +/-Infinity are never
allowed in the database.
Function of type rdb_index_field_unpack_t Unpack a double by doing the reverse action of ChangeDoubleForSort ( sql / filesort . cc ) . Note that this only works on IEEE values . Note also that this code assumes that NaN and + / - Infinity are never allowed in the database .
__attribute__((unused)) static int UnpackDouble(const void *src, void *dst) {
    static double zero_val = 0.0;
    static const uchar zero_pattern[8] = {128, 0, 0, 0, 0, 0, 0, 0};
    return UnpackFloatingPoint(src, sizeof(double), DBL_EXP_DIG, zero_pattern, (const uchar *)&zero_val,
                               SwapDoubleBytes, dst);
}
__attribute__ ( ( unused ) ) static int UnpackDouble ( const void * src , void * dst ) { static double zero_val = 0.0 ; static const uchar zero_pattern [ 8 ] = { 128 , 0 , 0 , 0 , 0 , 0 , 0 , 0 } ; return UnpackFloatingPoint ( src , sizeof ( double ) , DBL_EXP_DIG , zero_pattern , ( const uchar * ) & zero_val , SwapDoubleBytes , dst ) ; }
Function of type rdb_index_field_unpack_t
Unpack a double by doing the reverse action of ChangeDoubleForSort
(sql/filesort.cc).
Function of type rdb_index_field_unpack_t Unpack a double by doing the reverse action of ChangeDoubleForSort ( sql / filesort . cc ) .