xapian-core
1.4.26
|
Serialise floating point values to string which sort the same way. More...
#include <config.h>
#include <xapian/queryparser.h>
#include <cfloat>
#include <cmath>
#include <cstring>
#include <string>
Go to the source code of this file.
Macros | |
#define | UNITTEST_ASSERT_NOTHROW(COND, RET) |
Functions | |
static unsigned char | numfromstr (const std::string &str, std::string::size_type pos) |
Get a number from the character at a given position in a string, returning 0 if the string isn't long enough. More... | |
Serialise floating point values to string which sort the same way.
Definition in file sortable-serialise.cc.
#define UNITTEST_ASSERT_NOTHROW | ( | COND, | |
RET | |||
) |
Definition at line 30 of file sortable-serialise.cc.
Referenced by Xapian::sortable_serialise_(), and Xapian::sortable_unserialise().
|
inlinestatic |
Get a number from the character at a given position in a string, returning 0 if the string isn't long enough.
Definition at line 179 of file sortable-serialise.cc.
Referenced by Xapian::sortable_unserialise().