[libc-commits] [PATCH] D86241: [libc] Add a class called NormalFloat which represents normalized floats.

Siva Chandra via Phabricator via libc-commits libc-commits at lists.llvm.org
Wed Aug 19 13:00:29 PDT 2020

sivachandra created this revision.
sivachandra added a reviewer: lntue.
Herald added subscribers: libc-commits, ecnelises, tschuett, mgorny.
Herald added a project: libc-project.
sivachandra requested review of this revision.

This class helps in dealing with normal and subnormal numbers uniformly.
Moreover, since this class has been designed to handle all floating
formats across platforms, it helps implement floating point functions in
a uniform manner.

The implementations of frexp and logb have been switched to use this new
class as it allows us to use just one implementation across all
different floating point formats.

  rG LLVM Github Monorepo



-------------- next part --------------
A non-text attachment was scrubbed...
Name: D86241.286640.patch
Type: text/x-patch
Size: 12776 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libc-commits/attachments/20200819/cbaff99a/attachment.bin>

More information about the libc-commits mailing list