[Groonga-commit] groonga/grnxx at b6d4460 [master] Fix a comment.

Back to archive index

susumu.yata null+****@clear*****
Wed Dec 3 14:31:30 JST 2014


susumu.yata	2014-12-03 14:31:30 +0900 (Wed, 03 Dec 2014)

  New Revision: b6d44600f75017b31770ef95eb53926984030a5c
  https://github.com/groonga/grnxx/commit/b6d44600f75017b31770ef95eb53926984030a5c

  Message:
    Fix a comment.

  Modified files:
    include/grnxx/data_types/scalar/geo_point.hpp

  Modified: include/grnxx/data_types/scalar/geo_point.hpp (+1 -1)
===================================================================
--- include/grnxx/data_types/scalar/geo_point.hpp    2014-12-03 12:34:16 +0900 (2aa5547)
+++ include/grnxx/data_types/scalar/geo_point.hpp    2014-12-03 14:31:30 +0900 (157e078)
@@ -50,7 +50,7 @@ class GeoPoint {
   GeoPoint(Float latitude_in_degrees, Float longitude_in_degrees)
       : raw_latitude_(),
         raw_longitude_() {
-    // N/A (NaN) is rejected due to LOGICAL_AND.
+    // N/A (NaN) is rejected because a comparison for NaN returns false.
     if ((latitude_in_degrees.raw() >= -90.0) &&
         (latitude_in_degrees.raw() <= 90.0) &&
         (longitude_in_degrees.raw() >= -180.0) &&
-------------- next part --------------
HTML����������������������������...
다운로드 



More information about the Groonga-commit mailing list
Back to archive index