On 21/10/2026 9:45 pm, marcel hendrix wrote:
> On 10/21/2026 10:50 AM, Krishna Myneni wrote:
>> On 10/20/26 8:05 PM, Krishna Myneni wrote:
> [...]> I post the execution output from dp2_to_dd for the 4 test cases in
>> ddfsdot-test.4th for anyone who wants to reproduce this output. The hex values of the two double precision numbers input to the program are shown (the second number is, of course, 64-bit 0). Note that the "D" exponent marker must be used to enter a double precision number in Fortran.
>
> [...]
>
> Strange. I can duplicate 1, 2, and 4 exactly, but not 3: the pair -0.10000000133514320E-09 0.00000000000000000E+00 .
Is your >DD broken that you need to enter literals using another way?
enter 3.0000000000000004440892098500626e-1
print 3.0000000000000004440892098500625E-1
4 5 6 7 8 9 A B C D E F 0 1
0193:2DF4 34 33 33 33 33 33 D3 3F 00 00 00 00 00 00
\ 3F D3 33 33 33 33 33 34 0
enter 9.9999993504564039245746141539976e-39
print 9.9999993504564039245746141539977E-39
4 5 6 7 8 9 A B C D E F 0 1
0193:2DF4 00 00 00 80 FB 38 0B 38 00 00 00 00 00 00
\ 38 0B 38 FB 80 00 00 00 0
enter -1.0000000133514319600180897396057e-10
print -1.0000000133514319600180897396056E-10
4 5 6 7 8 9 A B C D E F 0 1
0193:2DF4 00 00 00 E0 DF 7C DB BD 00 00 00 00 00 00
\ BD DB 7C DF E0 00 00 00 0
enter -9.0071992547409920000000000000000e15
print -9.0071992547409920000000000000000E15
4 5 6 7 8 9 A B C D E F 0 1
0193:2DF4 00 00 00 00 00 00 40 C3 00 00 00 00 00 00
\ C3 40 00 00 00 00 00 00 0