-
- Downloads
re PR fortran/46625 (libquadmath: Mangle internal symbols; rename __float128 <-> string functions)
PR fortran/46625 * quadmath.map (QUADMATH_1.0): Remove quadmath_strtopQ and quadmath_dtoaq. Add strtoflt128 and quadmath_flt128tostr. * quadmath_weak.h (quadmath_strtopQ, quadmath_dtoaq): Remove. (strtoflt128, quadmath_flt128tostr): Add. * gdtoa/strtopQ.c (quadmath_strtopQ): Rename to... (strtoflt128): ... this. Return __float128, instead of writing to memory pointed by last argument. * quadmath.h: Use C style comments instead of C++ style. (quadmath_strtopQ, quadmath_dtoaq): Remove prototypes. (strtoflt128, quadmath_flt128tostr): Add prototypes. * libquadmath.texi (quadmath_dtoaq): Rename to quadmath_flt128tostr. (quadmath_strtopQ): Rename to strtoflt128. Adjust prototype, adjust examples. * quadmath_io.c (quadmath_dtoaq): Rename to... (quadmath_flt128tostr): ... this. libgfortran/ * io/write_float.def (DTOAQ): Use quadmath_flt128tostr instead of quadmath_dtoa. * io/transfer128.c (tmp1, tmp2): New variables, bring in strtoflt128 and quadmath_flt128tostr. (transfer_real128, transfer_real128_write, transfer_complex128, transfer_complex128_write): Remove tmp1/tmp2 variables. * io/read.c (convert_real): Use strtoflt128 instead of quadmath_strtopQ, adjust for the changed arguments and return value. From-SVN: r168856
Showing
- libgfortran/ChangeLog 13 additions, 0 deletionslibgfortran/ChangeLog
- libgfortran/io/read.c 1 addition, 1 deletionlibgfortran/io/read.c
- libgfortran/io/transfer128.c 7 additions, 17 deletionslibgfortran/io/transfer128.c
- libgfortran/io/write_float.def 1 addition, 1 deletionlibgfortran/io/write_float.def
- libquadmath/ChangeLog 17 additions, 0 deletionslibquadmath/ChangeLog
- libquadmath/gdtoa/strtopQ.c 6 additions, 9 deletionslibquadmath/gdtoa/strtopQ.c
- libquadmath/libquadmath.texi 11 additions, 13 deletionslibquadmath/libquadmath.texi
- libquadmath/quadmath.h 10 additions, 10 deletionslibquadmath/quadmath.h
- libquadmath/quadmath.map 4 additions, 2 deletionslibquadmath/quadmath.map
- libquadmath/quadmath_io.c 1 addition, 1 deletionlibquadmath/quadmath_io.c
- libquadmath/quadmath_weak.h 3 additions, 3 deletionslibquadmath/quadmath_weak.h
Loading
Please register or sign in to comment