dcodeIO / long.js

A Long class for representing a 64-bit two's-complement integer value.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

fromString doesn't set correctly "unsigned" property to default

royaltm opened this issue · comments

new Long(0, 0) ->
{ low: 0,
high: 0,
unsigned: false }

Long.fromString('0')
{ low: 0,
high: 0,
unsigned: undefined }

should be:
Long.fromString('0')
{ low: 0,
high: 0,
unsigned: false }