Was looking at your lib and noticed you could get better performance by doing the <x>/2 ahead of time, store it in a local var and use it instead of performing all the divides. Not that todays FPU's aren't fast, but every little bit helps.
Just a thought.
Quantum Mechanic Better living at the subatomic level.
------------------------------------ Quantum Mechanic Better living at the subatomic level