aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/patches/fplll-std-fenv.patch
blob: aa2438f0c960dee2198712e7112d059465b46753 (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
See https://github.com/fplll/fplll/issues/444

--- fplll-5.3.3-checkout.old/fplll/enum/enumerate_base.h	2020-09-23 13:55:27.833769823 +0200
+++ fplll-5.3.3-checkout/fplll/enum/enumerate_base.h	2020-09-23 13:56:14.313771769 +0200
@@ -127,10 +127,10 @@
   int rounding_backup;
   void save_rounding()
   {
-    rounding_backup = std::fegetround();
-    std::fesetround(FE_TONEAREST);
+    rounding_backup = fegetround();
+    fesetround(FE_TONEAREST);
   }
-  void restore_rounding() { std::fesetround(rounding_backup); }
+  void restore_rounding() { fesetround(rounding_backup); }
 
   inline bool next_pos_up()
   {
488928ab2418a064c8a9b0347c41'>linux-initrd: Module check correctly handles hyphen vs. underscore....Ludovic Courtès 2018-03-15linux-initrd: Autoload known-module-aliases, again....Mark H Weaver 2018-03-15linux-initrd: Move 'check-device-initrd-modules' elsewhere....Ludovic Courtès 2018-03-07linux-initrd: Factorize 'check-device-initrd-modules'....Ludovic Courtès 2018-03-02guix system: Check for the lack of modules in the initrd....Ludovic Courtès 2017-12-22mapped-devices: 'luks-device-mapping' checks its source device....Ludovic Courtès 2017-12-22mapped-devices: Add 'location' and 'check' fields....Ludovic Courtès