Comments (2)
Interesting. Yeah, that's going to be complicated. It will require some breakage of the API, and a lot of people use this. Let me test it and see what happens first to make sure I don't screw anyone else over. It's a valid point.
Just overloading isn't the question, you need to know which overload is enabled (int or double) to make it work. I think there is a solution, but need to play with it.
from sunset.
Fixed using branch alternativecalculations and will be merged shortly. It turned out to be trivial to implement, though testing has only been done on X86 Linux. More testing on an M4 to happen later this week.
from sunset.
Related Issues (20)
- Expose `calcAbsSunset` style interface, so custom offsets can be used HOT 5
- Remove unnecessary define statements HOT 1
- Fix missing precision cast in calcJD
- Error compiling for board ESP32 Dev Module. HOT 13
- wifi password is public HOT 1
- typo in examples/esp/example.ino HOT 1
- Remove dependency on ctime HOT 5
- Lack of documentation on: how to trigger something on sunset and sunrise, clock mode (12 or 24 hour clock) HOT 2
- moonphase: UTC or local HOT 2
- Negative values for moonphase HOT 4
- Publish latest version to Platformio package library HOT 7
- check for NaN in calcHourAngleSunset/-Sunrise HOT 8
- Moonphase test is failing HOT 1
- Can't use on Mega or Uno HOT 1
- Wrong times, problem with TZ and TzOffset HOT 4
- SunSet::SunSet() HOT 2
- Fix shared object version
- convert result to a certain time
- Is it ok to compile the piece of code into my company's App and published with closed source? HOT 1
- Which type of coordinate system does the setPosition API required? HOT 1
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 sunset.