I'm working on image processing software (mind that I'm a programmer and when talking about photography, I'm "tabula almost rasa").
In this software, I'm using a RAW decoder that returns a data representation of the image that I can work on. With it I also get a lot of metadata. I need to use and display some of these metadata values, but the problem is I need to display them rounded to common values. For example the data I get from the image are:
Aperture: 14.05 (not sure about rounding here)
ISO: 200 (nothing wrong here :))
shutter: 0.0101316 (approx. 1/98, which means it should be rounded to 1/100 )
Now what I need are some "complete" (as complete as possible) tables for common aperture and shutter speed values.
(You know, when the shutter speed is 1/99, you automatically round it to 1/100, when it's 1/7800 you round it to 1/8000.
I don't care about stops and other things since I can't so anything about them, I only need a table of shutter speeds/apertures, so I can round the values I get to them).
Something like:
when photographers talk, the shutter speeds they expect are:
15 8 4 2 1 1/2 1/ 1/8 1/15 1/30 1/50 1/60 1/100 ...... 1/3000....1/8000
common apertures are:
...1 2 3 4 5 6.... 14 16....