HomePhabricator

util: Add ParseInt64 and ParseDouble functions
7e98a3c64222Unpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

util: Add ParseInt64 and ParseDouble functions

Strict parsing functions for other numeric types.

  • ParseInt64 analogous to ParseInt32, but for 64-bit values.
  • ParseDouble for doubles.
  • Make all three Parse* functions more strict (e.g. reject whitespace on the inside)

Also add tests.

Details

Provenance
Wladimir J. van der Laan <laanwj@gmail.com>Authored on Jun 4 2015, 10:03
Jonas Schnelli <jonas.schnelli@include7.ch>Committed on Jun 4 2015, 11:18
schancelPushed on Jan 5 2018, 21:58
schancelPushed on Jan 5 2018, 21:39
schancelPushed on Jan 5 2018, 21:17
Parents
rSTAGING043df2b56831: Simplify RPCclient, adapt json_parse_error test
Branches
Unknown
Tags
Unknown

Event Timeline

Jonas Schnelli <jonas.schnelli@include7.ch> committed rSTAGING7e98a3c64222: util: Add ParseInt64 and ParseDouble functions (authored by Wladimir J. van der Laan <laanwj@gmail.com>).Jun 4 2015, 11:18