summaryrefslogtreecommitdiff
path: root/src/fixed_point.cpp
blob: 3e67e77a0cdee763323621f6c0abbc0d2b1129f2 (plain)
1
2
3
4
5
6
7
8
9
#include "fixed_point.h"

fp_t fp_t::operator+(const fp_t& other) const {
    return {raw + other.raw};
}

bool fp_t::operator==(const fp_t& other) const {
    return raw == other.raw;
}