root/root-no-hexfloat-const.patch
Mattias Ellert 9a997630c2 Update to 6.06.02 (F24+, EPEL7)
- Change to cmake configuration (was using ./configure)
- Change to doxygen documentation generation (was using THTML)
- Run the test suite
- Remove compatibility with older EPEL (Group tags, BuildRoot tag, etc.)
- New sub-packages: root-multiproc, root-cling, root-r, root-r-tools,
  root-geocad, root-tmva-python, root-tmva-r, root-tmva-gui, root-cli,
  root-notebook and root-rootaas
- New subpackage for EPEL7: root-python34
- Dropped sub-packages: root-cint, root-reflex, root-cintex, root-ruby
2016-04-10 23:12:54 +02:00

12 lines
763 B
Diff

diff -ur root-6.06.02.orig/math/mathcore/src/mixmax.h root-6.06.02/math/mathcore/src/mixmax.h
--- root-6.06.02.orig/math/mathcore/src/mixmax.h 2016-03-03 10:36:03.000000000 +0100
+++ root-6.06.02/math/mathcore/src/mixmax.h 2016-04-05 23:27:14.026856518 +0200
@@ -134,7 +134,7 @@
#define MOD_REM(k) ((k) % MERSBASE ) // latest Intel CPU is supposed to do this in one CPU cycle, but on my machines it seems to be 20% slower than the best tricks
#define MOD_MERSENNE(k) MOD_PAYNE(k)
-#define INV_MERSBASE (0x1p-61)
+#define INV_MERSBASE (4.336808689942017736029811203479766845703125e-19) // (0x1p-61)
// the charpoly is irreducible for the combinations of N and SPECIAL and has maximal period for N=508, 256, half period for 1260, and 1/12 period for 3150