search for: unsignedscalar

Displaying 2 results from an estimated 2 matches for "unsignedscalar".

2014 Jun 19
4
[LLVMdev] [RFC] Add a simple soft-float class
On Jun 18, 2014, at 8:38 PM, Duncan P. N. Exon Smith <dexonsmith at apple.com> wrote: >> >> On 2014 Jun 18, at 13:29, Owen Anderson <resistor at mac.com> wrote: >> >> Numerical analysis is hard. Every numerics expert I have ever worked with considers trying to re-invent floating point a cardinal sin of numerical analysis. Just don’t do it. You will miss
2014 Jun 20
4
[LLVMdev] [RFC] Add a scaled number class (was: Add a simple soft-float class)
...going in the tree with > a couple > of conditions: > > 1. The name matters. The biggest danger here is that someone sees this > and thinks > it's appropriate for general numerics, or otherwise "bigger than it > is". > > A couple of ideas are "UnsignedScalar" (too generic?) and "CostMetric" > (too > specific?). > > 2. Header docs should clearly describe the restricted problem domain > appropriate > to this class, and should forward those looking for a soft-float to > `APFloat`. > > For now I'm goin...