36 lines
596 B
C++
36 lines
596 B
C++
#if 0
|
|
|
|
#include <math/fix16.h>
|
|
|
|
fp_00_16& fp_00_16::operator =(long v){
|
|
this->value = (v << 16);
|
|
return *this;
|
|
};
|
|
|
|
fp_00_16& fp_00_16::operator =(struct fp_16_16& src){
|
|
this->value = src.value;
|
|
return *this;
|
|
};
|
|
|
|
fp_00_16& fp_00_16::operator =(struct fp_48_16& src){
|
|
this->value = src.value;
|
|
return *this;
|
|
};
|
|
|
|
fp_16_16& fp_16_16::operator =(long v){
|
|
this->value = (v << 16);
|
|
return *this;
|
|
};
|
|
|
|
fp_16_16& fp_16_16::operator =(fp_00_16& src){
|
|
this->value = src.value;
|
|
return *this;
|
|
};
|
|
|
|
fp_16_16& fp_16_16::operator =(fp_48_16& src){
|
|
this->value = src.value;
|
|
return *this;
|
|
};
|
|
|
|
#endif
|