<<"DEBUG: hours left has a value of: "<<hoursLeft<<endl;
}
GMST=fmod(temp,24.0);
//GMST = temp;
//GMST = modf((temp/24), &D) * 24;
/*if(GMST > 24){
GMST -= 24;
}*/
if(DEBUG){
clog<<"DEBUG: GMST has a value of: "<<GMST<<endl;
}
returnGMST;
}
//converts geographic coordinates to celestial coooriantes (right ascention and deckination) and retruns a deque with the names of all the constellations
//latAndLongpair has lat as the first and long as the second
//alt and azi pair has altitude as the first and azimuth as the second
clog<<fixed<<setprecision(10)<<"DEBUG: hourAngle has a value of: "<<hourAngle<<endl
<<"DEBUG: temp has a value of: "<<temp<<" and the arcsine of temp is: "<<asin(temp)<<endl
<<"DEBUG: sigma then has a value of: "<<sigma*(180/M_PI)<<endl
<<"DEBUG: alpha has a value of: "<<alpha<<" which means that the LST is: "<<(GMST(year,hours)+Long)<<" and the hour angle is "<<hourAngle<<" and the arccos of the hour angle is: "<<acos(hourAngle)*(180/M_PI)<<endl;
//clog << "DEBUG: alpha has a value of: " << alpha << " and sigma has a value of: " << sigma * (180 / M_PI)<< endl;
cout<<"The algorithm function, when its January 27, 2017, at 5:45:54 pm, at a lat and long of -46,89 and when looking at the sky at 20, 270 (in horizontal coordinates), gives: "<<endl
<<"Right ascention of: "<<returnValue.first<<" and a declination of: "<<returnValue.second<<endl;