iauCal2jd gives 2400000.5 +56305.0 (=2456305.5) which is the correct answer (of course!)
2013/1/13, Marco Maggi <marco.maggi-i...@poste.it>: > Pierpaolo Bernardi wrote: >> You may want to look instead at (the time related parts >> of) SOFA (www.iausofa.org). > > I have libtoolised SOFA: > > <https://github.com/marcomaggi/atsofa> > <http://code.google.com/p/libtoolisations/downloads/list> > > but the single test file I have included fails!!! Or I am > understanding nothing... which is also possible. > > According to calculators on the Net, the Julian day number > for 2013/01/13 is 2456306; but the function "iauCal2jd()" > gives me 2455939.5. > > Damn! Damn! Damn! Time to lunch. > -- > Marco Maggi > -- Inviato dal mio dispositivo mobile _________________________ Racket Developers list: http://lists.racket-lang.org/dev