[Bug 242067] libc: r354823 riscv64 has a fault in printf() where IEEE754-2008 fp128 data is output wrong

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Nov 28 20:41:54 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=242067

--- Comment #7 from Dennis Clarke <dclarke at blastwave.org> ---
Yep, we have a problem in FreeBSD 13.0-CURRENT r355009 perhaps
in _ldtoa.c still and I think maybe the real issue is with 

    head/lib/libc/gdtoa/machdep_ldisQ.c

where we see 


/*
 * Machine-dependent glue to integrate David Gay's gdtoa
 * package into libc for architectures where a long double
 * uses quad precision, such as sparc64.
 */


Well bingo ... other than the endianess we have the same data
in memory and confusion in the printf output. 

So still digging.


-- 
Dennis Clarke
RISC-V/SPARC/PPC/ARM/CISC
UNIX and Linux spoken
GreyBeard and suspenders optional

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list