julia> bits(1.4f-44)
"00000000000000000000000000001010"

As you can see, the last four bits have "A" as their hex representation.

Thanks,

Jiahao Chen
Research Scientist
MIT CSAIL

On Thu, Jun 4, 2015 at 5:06 PM, <[email protected]> wrote:

> What's the logic behind the results from `hex2num()`:
>
>     julia> hex2num("1")
>     1.0f-45
>
>     julia> hex2num("2")
>     3.0f-45
>
>     julia> hex2num("3")
>     4.0f-45
>
>     julia> hex2num("A")
>     1.4f-44
>
>

Reply via email to