mes: string->number: Support #x-prefixed hex numbers.
authorJan Nieuwenhuizen <janneke@gnu.org>
Fri, 2 Aug 2019 20:52:46 +0000 (22:52 +0200)
committerJan Nieuwenhuizen <janneke@gnu.org>
Fri, 2 Aug 2019 20:52:46 +0000 (22:52 +0200)
commitdd34569751b9969ca1991ae4c5be9f3b7963f430
treeb7e98f59a731014ffbaf85828ab8fb5194233648
parent26891251a6cf38cb51016585ec24b034c6f4cfa9
mes: string->number: Support #x-prefixed hex numbers.

* mes/module/mes/scm.mes (string->number): Support "#x"-prefix.
* tests/math.test ("string->number #hex"): Test it.
mes/module/mes/scm.mes
tests/math.test