diff options
author | edik <edik@yandex-team.ru> | 2022-02-10 16:50:15 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:50:15 +0300 |
commit | ba5325cc01aabb81effc91ff1bdbb461313cbd00 (patch) | |
tree | 5d5cb817648f650d76cf1076100726fd9b8448e8 /library/cpp | |
parent | 2df6c53a785ddaa9b86b3b169c956f5d65edc7bc (diff) | |
download | ydb-ba5325cc01aabb81effc91ff1bdbb461313cbd00.tar.gz |
Restoring authorship annotation for <edik@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'library/cpp')
-rw-r--r-- | library/cpp/packedtypes/packedfloat.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/cpp/packedtypes/packedfloat.h b/library/cpp/packedtypes/packedfloat.h index 621d89d011..f178912ed3 100644 --- a/library/cpp/packedtypes/packedfloat.h +++ b/library/cpp/packedtypes/packedfloat.h @@ -161,7 +161,7 @@ using uf8d = NPackedFloat::float8<0, 1>; using frac8 = ui8; using frac16 = ui16; - + template <class T> inline constexpr T Float2Frac(float fac) { return T(fac * float(Max<T>())); |