equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 1998, 2016, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 1998, 2017, Oracle and/or its affiliates. All rights reserved. |
3 * Copyright (c) 2012, 2017 SAP SE. All rights reserved. |
3 * Copyright (c) 2012, 2017 SAP SE. All rights reserved. |
4 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
5 * |
5 * |
6 * This code is free software; you can redistribute it and/or modify it |
6 * This code is free software; you can redistribute it and/or modify it |
7 * under the terms of the GNU General Public License version 2 only, as |
7 * under the terms of the GNU General Public License version 2 only, as |
104 typedef uint8_t jubyte; |
104 typedef uint8_t jubyte; |
105 typedef uint16_t jushort; |
105 typedef uint16_t jushort; |
106 typedef uint32_t juint; |
106 typedef uint32_t juint; |
107 typedef uint64_t julong; |
107 typedef uint64_t julong; |
108 |
108 |
109 |
|
110 //---------------------------------------------------------------------------------------------------- |
|
111 // Debugging |
|
112 |
|
113 #define DEBUG_EXCEPTION ::abort(); |
|
114 |
|
115 extern "C" void breakpoint(); |
|
116 #define BREAKPOINT ::breakpoint() |
|
117 |
|
118 // checking for nanness |
109 // checking for nanness |
119 #ifdef AIX |
110 #ifdef AIX |
120 inline int g_isnan(float f) { return isnan(f); } |
111 inline int g_isnan(float f) { return isnan(f); } |
121 inline int g_isnan(double f) { return isnan(f); } |
112 inline int g_isnan(double f) { return isnan(f); } |
122 #else |
113 #else |