The person who wrote Lcalc is easily the world leader in algorithms
for numerical
computation of zeros of L-series of all types, and has done vastly
more along these
lines than anybody else. I would greatly prefer code with unused variables
from a person that understands the relevant mathematics, than the
other way around.
> tmp_x is unused. I thought that would be defined in a C or C++ file, not a
> header file. Lfind_zeros.h It's actually normal practice to have code in C
> and C++ files, not header files.
>
> Functions are declared to return values, but do not do so. 'missing_data' is
> unused. Is that since it's not needed, or because the author forget to use
> it, so the code is unstable?
Maybe you should ask the author...
> There are reports of "deprecated or antiquated header which may be removed
> without further notice at a future date".
>
> Unfortunately, lcalc was the part of Sage I intended using - now I think I
> will look at other software. Hopefully some high quality open-source
> software. Parts of the code are quite well commented, but other parts have
> few if any comments. This has rather put me off.
Good luck.
-- William
>
> Anne
>
> --
> To post to this group, send email to sage-s...@googlegroups.com
> To unsubscribe from this group, send email to
> sage-support...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/sage-support
> URL: http://www.sagemath.org
>
--
William Stein
Professor of Mathematics
University of Washington
http://wstein.org
Best,
Mike
It would be good if you could remove that option from your makefile that adds
-Wa,-W to CFLAGS and/or CXXFLAGS in an attempt to suppress warnings from the
assembler.
Passing -W directly to the assembler causes an error with Sun assembler and
probably most non-GNU assemblers.
kirkby@t2:[~] $ gcc test.c
kirkby@t2:[~] $ gcc -Wa,-W test.c
/usr/ccs/bin/as: error: unknown option 'W'
usage: /usr/ccs/bin/as [-V] [-Q{y,n}] [-q] [-s]
[-S] [-K {pic,PIC}] [-o objfile] [-L] [-T]
[-P [[-Yc,path] [-Ipath] [-Dname] [-Dname=def] [-Uname]]...]
[-m [-Ym,path]] [-n] [-ul] [-xF]
[-m32] [-m64]
[-xarch={v7,v8,v8a,v8plus,v8plusa,v8plusb,v9,v9a,v9b,sparc,sparcvis,
sparcvis2,sparcfmaf,sparcima}]
[-xcode={pic13,pic32}] file.s...
As such, your source code would not build on Solaris when the Sun assembler is
used, which is the recommended way to configure gcc on SPARC processors.
I've got no idea if your code is computationally intensive or not, but if it is,
then it would be good if it could build with the Sun C compiler
(/opt/SUNWspro/bin/cc on t2) and/or C++ compiler (/opt/SUNWspro/bin/CC on 't2').
The Sun compilers are more fussy than gcc, so will reject code that has GNUisms.
Dave