Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

alog2 defined in multiple code files #169

Closed
edwardhartnett opened this issue Oct 31, 2021 · 0 comments · Fixed by #193
Closed

alog2 defined in multiple code files #169

edwardhartnett opened this issue Oct 31, 2021 · 0 comments · Fixed by #193
Assignees
Labels
enhancement New feature or request

Comments

@edwardhartnett
Copy link
Contributor

This constant should be defined as a pre-processor symbol in grib2.h.

(base) ed@mikado:~/NCEPLIBS-g2c/b/tests$ find ../../src -name '*.c'|xargs grep 'alog2 ='
../../src/simpack.c:    static g2float alog2 = 0.69314718;       /*  ln(2.0) */
../../src/pngpack.c:    static g2float alog2 = 0.69314718;       /*  ln(2.0) */
(base) ed@mikado:~/NCEPLIBS-g2c/b/tests$ find ../../src -name '*.c'|xargs grep 'alog2='
../../src/compack.c:    static g2float alog2=0.69314718;       //  ln(2.0)
../../src/misspack.c:    static g2float alog2=0.69314718;       //  ln(2.0)
../../src/jpcpack.c:    static g2float alog2=0.69314718;       //  ln(2.0)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
1 participant