blob: 3f6d7379a4862beb057e0ac4f1d94907668f6509 (
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
|