J
Jason Lang
hi i am using a function which does a floating point "modulus"
operation.
it takes 2 floats as input and wraps the first float (float1) to fit in
the range 0 .. float2
I was originally using a math function fmod but this was really slow so
i replaced it with an inline function i wrote. this was a lot faster,
but still there is room for improvement.
What is the fastest function which performs this operation ?
If i want to write it in assembly, can someone explain to me the syntax
for embedding assmebler in my visual c++ 6 projects ?
Thanks
- Jason
operation.
it takes 2 floats as input and wraps the first float (float1) to fit in
the range 0 .. float2
I was originally using a math function fmod but this was really slow so
i replaced it with an inline function i wrote. this was a lot faster,
but still there is room for improvement.
What is the fastest function which performs this operation ?
If i want to write it in assembly, can someone explain to me the syntax
for embedding assmebler in my visual c++ 6 projects ?
Thanks
- Jason