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.
MPZ を使用して数値の基数を変更しようとしていますが、しようmpz(16[, base=16])とすると無効な構文エラーが発生します。
mpz(16[, base=16])
を使用するmpz(0x16)と、10 進数 ( ) が返されます22。MPZタイプを別のベースに格納することはできますか?
mpz(0x16)
22