diff options
author | edik <edik@yandex-team.ru> | 2022-02-10 16:50:14 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:50:14 +0300 |
commit | 2df6c53a785ddaa9b86b3b169c956f5d65edc7bc (patch) | |
tree | efbed2e9b51d653396688dba22a4baa4f80c2a86 /library/cpp/packedtypes/packedfloat.h | |
parent | fcc260ce89e9b359b47474d8dfa6dfcb6aae3fe9 (diff) | |
download | ydb-2df6c53a785ddaa9b86b3b169c956f5d65edc7bc.tar.gz |
Restoring authorship annotation for <edik@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/packedtypes/packedfloat.h')
-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 f178912ed3..621d89d011 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>())); |