This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients benjamin.peterson, dim, eric.smith, mark.dickinson, serhiy.storchaka, vstinner
Date 2017-04-24.22:55:44
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1493074544.6.0.219377083246.issue30124@psf.upfronthosting.co.za>
In-reply-to
Content
> As an experiment, and to show what would be needed (at minimum), I have attempted to make Python/dtoa.c completely aliasing-safe here:
> https://github.com/DimitryAndric/cpython/commit/29c3f6f5cd771fce5630f127b9e7054593e3160c

Would it be technically possible to completely get ride of the union? For example, it would allow to replace:

   set_dval(rv, get_dval(rv) + sulp(rv, bc));
with:
   rv += sulp(rv, bc);

Is it possible to replace Big0 and Big1 with Big double?

etc.
History
Date User Action Args
2017-04-24 22:55:44vstinnersetrecipients: + vstinner, mark.dickinson, eric.smith, benjamin.peterson, serhiy.storchaka, dim
2017-04-24 22:55:44vstinnersetmessageid: <1493074544.6.0.219377083246.issue30124@psf.upfronthosting.co.za>
2017-04-24 22:55:44vstinnerlinkissue30124 messages
2017-04-24 22:55:44vstinnercreate