2
0
mirror of https://github.com/boostorg/math.git synced 2026-02-22 03:22:28 +00:00
Files
math/include
Evan Miller e9b18c7369 Eliminate double-promotion from unchecked_factorial
Before this change, any function calling unchecked_factorial<double>
would generate long double code. This created a headache for users
attempting to eliminate long doubles from their compiled code.

A more elegant solution might use templates to create a single lookup
array for all major floating-point types, but the present solution
(adding an explicit double array) works just fine.

See #398.
2020-07-15 10:03:42 -04:00
..