blob: 6039d78969e114be8b89c7738f1e5b26998acbcc (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
#include "packedfloat.h"
#include <util/stream/output.h>
#define OUT_IMPL(T) \
template <> \
void Out<T>(IOutputStream & os, TTypeTraits<T>::TFuncParam val) { \
os << (float)val; \
}
OUT_IMPL(f16)
OUT_IMPL(uf16)
OUT_IMPL(f8)
OUT_IMPL(uf8)
OUT_IMPL(f8d)
OUT_IMPL(uf8d)
#undef OUT_IMPL
|