[CDRIVER-1336] Define constants for special strings returned by bson_decimal128_to_string() Created: 17/Jun/16 Updated: 07/Nov/16 Resolved: 07/Nov/16 |
|
| Status: | Closed |
| Project: | C Driver |
| Component/s: | libbson |
| Affects Version/s: | 1.4.0 |
| Fix Version/s: | 1.5.0 |
| Type: | Improvement | Priority: | Minor - P4 |
| Reporter: | Jeremy Mikola | Assignee: | Hannes Magnusson |
| Resolution: | Done | Votes: | 0 |
| Labels: | intern2016 | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||
| Description |
|
bson_decimal128_to_string() may return the special strings "Infinity" or "NaN". These values should be exposed as constants so have a known value to compare. Likewise, drivers using libbson can depend on these constants for exposing their own constants. |
| Comments |
| Comment by Githook User [ 07/Nov/16 ] |
|
Author: {u'username': u'bjori', u'name': u'Hannes Magnusson', u'email': u'bjori@php.net'}Message: |
| Comment by Hannes Magnusson [ 27/Jun/16 ] |
|
makes sense |