parse-double ( string -- float )


Vocabulary
redis.response-parser.private

Inputs
stringan object


Outputs
floatan object


Definition


: parse-double ( string -- float )
{
{ "inf" [ 1/0. ] }
{ "-inf" [ -1/0. ] }
{ "nan" [ 0/0. ] }
[ string>number >float ]
} case ;