File: ignore-fesetround-tests.patch

package info (click to toggle)
octave-interval 3.2.1-7
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 8,628 kB
  • sloc: ansic: 31,664; sh: 3,708; cpp: 2,958; objc: 1,662; makefile: 243; xml: 58; sed: 8
file content (25 lines) | stat: -rw-r--r-- 830 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
Description: Ignore results of fesetround BISTs
 Global rounding-mode switches don't work on armel architecture and
 are not required by the package.
Author: Oliver Heimlich <oheim@posteo.de>
Forwarded: not-needed
Reviewed-By: Rafael Laboissière <rafael@debian.org>
Last-Update: 2022-01-31

--- a/src/__setround__.cc
+++ b/src/__setround__.cc
@@ -69,12 +69,12 @@
 }
 
 /*
-%!test
+%!xtest <Rounding-mode switches fail on your system; some matrix operations will be slower than expected>
 %!  __setround__ (+inf);
 %!  assert (1 + realmin > 1, true);
 %!  assert (1 - realmin == 1, true);
 %!  __setround__ (0.5);
-%!test
+%!xtest <Rounding-mode switches fail on your system; some matrix operations will be slower than expected>
 %!  __setround__ (-inf);
 %!  assert (1 + realmin == 1, true);
 %!  assert (1 - realmin < 1, true);