[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: Floating point numbers in ldap



I wrote:
> - These syntaxes' ORDERING rules sort as strings - so to get correct
>   ordering you'll likely want to invent a format where
>   memcmp(num1, num2) < 0 if num1 < num2.

Er, try "invent" -> "find", whether for client implementation or
server-side index implementation.  Floating point can be tricky to get
quite right, in particular when NaN etc is included.  Hopefully someone
else has already needed sortable floating-point strings and invented
them.

-- 
Hallvard