| 290 | //---------------------------------------------------------- |
| 291 | |
| 292 | void |
| 293 | testPrecise() |
| 294 | { |
| 295 | // tag::doc_parsing_precise[] |
| 296 | parse_options opt; |
| 297 | opt.numbers = number_precision::precise; |
| 298 | value jv = parse( "1002.9111801605201", storage_ptr(), opt ); |
| 299 | // end::doc_parsing_precise[] |
| 300 | (void)jv; |
| 301 | assert( jv == 1002.9111801605201 ); |
| 302 | } |
| 303 | |
| 304 | //---------------------------------------------------------- |
| 305 |