"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "m4/intparam.m4" between
cln-1.3.5.tar.bz2 and cln-1.3.6.tar.bz2

About: CLN is a C++ library for efficient computations with all kinds of numbers in arbitrary precision.

intparam.m4  (cln-1.3.5.tar.bz2):intparam.m4  (cln-1.3.6.tar.bz2)
skipping to change at line 261 skipping to change at line 261
esac esac
} > "$cl_machine_file_h" } > "$cl_machine_file_h"
]) ])
dnl CL_INTPARAM_BITSIZE(type, variable) dnl CL_INTPARAM_BITSIZE(type, variable)
dnl puts into variable the determined bitsize of the type. dnl puts into variable the determined bitsize of the type.
AC_DEFUN([CL_INTPARAM_BITSIZE], AC_DEFUN([CL_INTPARAM_BITSIZE],
[ [
n=1; x="($1)2" n=1; x="($1)2"
while true; do while true; do
AC_TRY_COMPILE([], [static_assert(($1)($x) == 0, "");], AC_TRY_COMPILE([], [typedef int verify[2*(($1)($x) == 0) - 1];],
[$2=$n; break;], [$2=$n; break;],
[if test $n = 1000; then $2=; break; fi;]) [if test $n = 1000; then $2=; break; fi;])
n=`expr $n + 1`; x="$x * ($1)2" n=`expr $n + 1`; x="$x * ($1)2"
done done
]) ])
dnl CL_INTPARAM_SIZEOF(type, variable) dnl CL_INTPARAM_SIZEOF(type, variable)
dnl puts into variable the determined size of the type. dnl puts into variable the determined size of the type.
AC_DEFUN([CL_INTPARAM_SIZEOF], AC_DEFUN([CL_INTPARAM_SIZEOF],
[ [
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)