Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
この式を使用する必要があるエンコーダーとデコーダーを作成しようとしています。基本的に、この式は 25 ~ 2294E6 の任意の数値を 0 ~ 254 の int にエンコードします。ただし、逆の式でデコードすると、値が極端に失われます。どういうわけか損失を説明する方法があるかどうかを見ていました。ああ、さらに詳しい情報については、intとしてのみ保存できます。
私が言及している式