susumu.yata
null+****@clear*****
Tue Dec 16 10:53:41 JST 2014
susumu.yata 2014-11-26 17:05:58 +0900 (Wed, 26 Nov 2014) New Revision: 837aca626a867c5ff10cd728d9659e44efbe8940 https://github.com/groonga/grnxx/commit/837aca626a867c5ff10cd728d9659e44efbe8940 Message: Add NOTE comments. Modified files: lib/grnxx/impl/sorter.cpp Modified: lib/grnxx/impl/sorter.cpp (+2 -0) =================================================================== --- lib/grnxx/impl/sorter.cpp 2014-11-26 16:04:29 +0900 (21c3ed2) +++ lib/grnxx/impl/sorter.cpp 2014-11-26 17:05:58 +0900 (e4aa32d) @@ -368,6 +368,7 @@ using IntNode = ConvertNode<Int, T>; // TODO: Sorter for Score should be specialized. +// NOTE: This implementation assumes IEEE754. struct RegularFloatConverter { uint64_t operator()(Float value) const { if (value.is_na()) { @@ -384,6 +385,7 @@ struct RegularFloatConverter { } }; +// NOTE: This implementation assumes IEEE754. struct ReverseFloatConverter { uint64_t operator()(Float value) const { if (value.is_na()) { -------------- next part -------------- HTML����������������������������... 다운로드