J
Jonas Ernst
Hi,
Can somebody give me some hints how to do a line interpolation without using
floating point arithemtics?
The function shall do a linear interpolation between 2 points (line interp?)
and it shall return the y value to any x value given.
e.g. p1: (0,0)
p2 (1000,50)
y value to calculate at x=600
Is there a way to implement this not using any FP arithmetics in C? Perhaps
"scaling up" or sth like this?
Any help would be great
Thanks in advance
J. Ernst
Can somebody give me some hints how to do a line interpolation without using
floating point arithemtics?
The function shall do a linear interpolation between 2 points (line interp?)
and it shall return the y value to any x value given.
e.g. p1: (0,0)
p2 (1000,50)
y value to calculate at x=600
Is there a way to implement this not using any FP arithmetics in C? Perhaps
"scaling up" or sth like this?
Any help would be great
Thanks in advance
J. Ernst