This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

IEEE128 binary float to decimal float conversion routines


Hi Joseph,

I think there may have been a question as to where the
conversion routines between IEEE 128 binary float and
decimal float should live.

Observing existing precedent and machinery, I think
the appropriate place to house them is within libdfp.

The conversion routines between the existing types
reside in here already. Examining the source, we (IBM)
would be adding the following:

	__{dpd,bid}_extend {sd,dd,td} <-> kf
	__{dpd,bid}_trunc  {sd,dd,td} <-> kf

Similarly, it looks like __int128 support never got added:

	__{dpd,bid}_fix {sd,dd,td} -> {ti,unsigned ti}
	__{dpd,bid}_float {ti, unsigned ti} -> {sd,dd,td}

Thanks,
Paul


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]