will the mathlib (then gaol) be eventually ported to pentium or amd 64 ?
I've been realising than there are more and more 64 bits PCs at my workplace (in fact all new PCs) and i see the time coming when there won't be any 32bits PCs left.
Cheers
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
/* Switch rounding mode on linux systems, depends on glibc. */
/* Should work both on x86 and x86_64 systems. */
/* Matthias Huesken, University of Wuppertal, 2006. */
#include <fenv.h>
#include "mex.h"
I have created a branch of gaol that works correctly on microsoft visual
studio 6.0 and
microsoft visual studio 2003 and is working on linux AMD64 bit . In the
gaol package there is
a test case in the directory check , all tests case was succefully done.
All binaries and libraries are generated automatically in the gaol\bin and
gaol\lib directories and
Debug and Release have different names (gaol.dll ,gaolD.dll )
this is a work of 7 day , i hope it will be usefull and i hope it can will
be plugged in the mainstream.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
will the mathlib (then gaol) be eventually ported to pentium or amd 64 ?
I've been realising than there are more and more 64 bits PCs at my workplace (in fact all new PCs) and i see the time coming when there won't be any 32bits PCs left.
Cheers
/* Switch rounding mode on linux systems, depends on glibc. */
/* Should work both on x86 and x86_64 systems. */
/* Matthias Huesken, University of Wuppertal, 2006. */
#include <fenv.h>
#include "mex.h"
#define ROUND_NEAR FE_TONEAREST
#define ROUND_UP FE_UPWARD
#define ROUND_DOWN FE_DOWNWARD
void mexFunction( int nlhs, mxArray *plhs[],
int nrhs, const mxArray *prhs[] ) {
int rnd;
rnd = mxGetScalar(prhs[0]);
switch (rnd) {
/* round up */
case 1 : fesetround(ROUND_UP); break;
/* round to nearest */
case 0 : fesetround(ROUND_NEAR); break;
/* round down */
case -1 : fesetround(ROUND_DOWN); break;
/* round to nearest */
default : fesetround(ROUND_NEAR); break;
}
} /* setround */
I have created a branch of gaol that works correctly on microsoft visual
studio 6.0 and
microsoft visual studio 2003 and is working on linux AMD64 bit . In the
gaol package there is
a test case in the directory check , all tests case was succefully done.
===============================================================================
GAOL PATCH
===============================================================================
https://sourceforge.net/project/showfiles.php?group_id=122219&package_id=222453
===============================================================================
All binaries and libraries are generated automatically in the gaol\bin and
gaol\lib directories and
Debug and Release have different names (gaol.dll ,gaolD.dll )
this is a work of 7 day , i hope it will be usefull and i hope it can will
be plugged in the mainstream.