| Server IP : 82.208.35.60 / Your IP : 216.73.216.89 Web Server : Apache/2.4.55 (FreeBSD) OpenSSL/1.1.1q-freebsd PHP/7.3.31 System : FreeBSD server7.d2m.cz 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 GENERIC amd64 User : studiokobylisy_cz ( 1008) PHP Version : 7.3.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /usr/ports/math/snns/files/ |
Upload File : |
--- kernel/sources/learn_f.c.orig Sat Sep 28 20:55:45 2002
+++ kernel/sources/learn_f.c Sat Sep 28 20:56:31 2002
@@ -33,6 +33,8 @@
#include <math.h>
#ifdef HAVE_VALUES_H
#include <values.h>
+#else
+#include <limits.h>
#endif
#include <ctype.h>
@@ -3896,8 +3898,8 @@
/* NULL before first unit */
topo_ptr = topo_ptr_array;
- xmin_in = ymin_in = MAXINT;
- xmax_in = ymax_in = -MAXINT;
+ xmin_in = ymin_in = INT_MAX;
+ xmax_in = ymax_in = -INT_MAX;
while ( (input_unit_ptr = * ++topo_ptr ) != NULL)
{
@@ -3967,8 +3969,8 @@
/* topo_ptr points now to the NULL before first output unit */
- xmin_out = ymin_out = MAXINT;
- xmax_out = ymax_out = -MAXINT;
+ xmin_out = ymin_out = INT_MAX;
+ xmax_out = ymax_out = -INT_MAX;
while ( (output_unit_ptr = * ++topo_ptr ) != NULL)
{