Hello,
I can successfully printf the hex number below - can you try adding
export LC_ALL=C
to the script, just under #!/bin/bash and let me know if anything changes?
Kind Regards
Matthew
> Thanks for the reply!
>
>
> After trying this script I got following error for every line
>
> printf: 0x1.023654a0c633p+0: invalid hex number
>
> Moreover, when I tried manually convert, I get also error
>
> echo $((16#0x1.023654a0c633p+0 ))
>
> What is proper number for conversion?
|