Comments (4)
It should be installed. People rely on it for macros such as DPI
and DAS2R
.
from erfa.
If the macros are public interface, I would expect the names to have a prefix, like ERFA_DPI. The prefix serves as a namespace to avoid colissions. We have very short names here: DC, DAU, etc.
For comparation, math.h macros are prefixed with M_
#define M_PI 3.14159265358979323846
#define M_PIl 3.141592653589793238462643383279502884L
gsl.h macros are prefixed with GSL (or _GSL if they are private macros)
from erfa.
Indeed, but that is how SLALIB did it and that is how SOFA does it. It's got a long history. I'm not necessarily against an ERFA__
prefix though (if it doesn't complicate the importing script too much).
from erfa.
Well, as the prefix macro thing is a different topic, I'm closing this, my original question has been answered.
from erfa.
Related Issues (20)
- Upload releases after 1.4 to Zenodo HOT 4
- Wrong version taken for SONAME HOT 6
- Decide if the leap second wrapper is the long-term API
- Make a way to use local device's leap second information
- ERFA 1.7 still has version number 1.6!? HOT 2
- Fix README.rst -- update release info HOT 6
- Porting ERFA to different languages - licensing HOT 17
- starpm does not work for moderate proper motion/no parallax case HOT 1
- Update to match SOFA 20200721
- Unexpected result from d2dtf() very near day boundary in UTC HOT 9
- Have links in docs/README to other languages?
- change in header files to make things better for C++? HOT 4
- Update to SOFA 17a HOT 2
- Should macros in erfam.h be considered part of the API? HOT 1
- Auto-update zenodo HOT 1
- why use fmod in calculating Fundamental arguments in eraNut80?
- Wrong result from d2dtf() in pre-1972 UTC
- d2dtf(), dtf2d(), utctai(), dat(): Inexact table and method of detecting jump HOT 13
- proposal: use integer times internally HOT 8
- Single-precision floating-point level rounding errors when using pmsafe HOT 44
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from erfa.