| 1 |
Description: unconditionally use INFINITY from cmath as __infinity |
| 2 |
Upstream has a number of definitions for __infinity, based on a |
| 3 |
mixture of architecture and platform. This list is incomplete, not |
| 4 |
functional (FTBFS on Debian alpha), and defaults to a random floating |
| 5 |
point value on any architecture unknown to upstream. |
| 6 |
Author: Thibaut Paumard |
| 7 |
Origin: vendor |
| 8 |
Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=845437 |
| 9 |
Forwarded: yes |
| 10 |
Last-Update: 2016-11-23 |
| 11 |
--- |
| 12 |
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ |
| 13 |
--- a/C++/Include/nbr_spx.h |
| 14 |
+++ b/C++/Include/nbr_spx.h |
| 15 |
@@ -89,6 +89,7 @@ |
| 16 |
/* |
| 17 |
* $Id: nbr_spx.h,v 1.6 2014/10/06 15:09:40 j_novak Exp $ |
| 18 |
* $Log: nbr_spx.h,v $ |
| 19 |
+ * |
| 20 |
* Revision 1.6 2014/10/06 15:09:40 j_novak |
| 21 |
* Modified #include directives to use c++ syntax. |
| 22 |
* |
| 23 |
@@ -133,41 +134,7 @@ |
| 24 |
* |
| 25 |
*/ |
| 26 |
|
| 27 |
|
| 28 |
|
| 29 |
|
| 30 |
|
| 31 |
|
| 32 |
|
| 33 |
|
| 34 |
|
| 35 |
|
| 36 |
|
| 37 |
|
| 38 |
|
| 39 |
|
| 40 |
|
| 41 |
|
| 42 |
|
| 43 |
|
| 44 |
|
| 45 |
|
| 46 |
|
| 47 |
|
| 48 |
|
| 49 |
|
| 50 |
|
| 51 |
|
| 52 |
#include <cmath> |
| 53 |
#define __infinity INFINITY |
| 54 |
|
| 55 |
|
| 56 |
|
| 57 |
|
| 58 |
|
| 59 |
|
| 60 |
|
| 61 |
|
| 62 |
|
| 63 |
|
| 64 |
#endif |