[Kstars-devel] Handling the "data unavailable" cases with NaNs.

Akarsh Simha akarshsimha at gmail.com
Sat Mar 16 21:00:36 UTC 2013


Hi

I have a suggestion. Many a times, data like magnitudes could be
undefined. Right now, we just supply some numbers for unavailable data
(eg: 99.99 for the magnitude, and I think exact zeros for RA and Dec).

I think it might be better to replace these by NaNs, so errors in
these objects will not propagate. Of course, we should add code
everywhere to handle these NaNs properly.

This is a drastic change because it could result in segfaults
everywhere. So I thought I should discuss it before I do something
like this.

Regards
Akarsh


More information about the Kstars-devel mailing list