diff options
author | MITSUNARI Shigeo <herumi@nifty.com> | 2016-04-26 15:32:41 +0800 |
---|---|---|
committer | MITSUNARI Shigeo <herumi@nifty.com> | 2016-04-26 15:32:41 +0800 |
commit | 5aac5f23fbf962b7247fb0e97dee0b72f3201174 (patch) | |
tree | 30a211e89109dc6d06908f83e17cdf20a961c31f /include | |
parent | fef84d997f835b5eb00926d93db87179e6bf4842 (diff) | |
download | tangerine-mcl-5aac5f23fbf962b7247fb0e97dee0b72f3201174.tar.gz tangerine-mcl-5aac5f23fbf962b7247fb0e97dee0b72f3201174.tar.zst tangerine-mcl-5aac5f23fbf962b7247fb0e97dee0b72f3201174.zip |
add getter Fp2::getXi_a()
Diffstat (limited to 'include')
-rw-r--r-- | include/mcl/fp_tower.hpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/mcl/fp_tower.hpp b/include/mcl/fp_tower.hpp index 85d523e..6548099 100644 --- a/include/mcl/fp_tower.hpp +++ b/include/mcl/fp_tower.hpp @@ -108,6 +108,7 @@ public: isOdd() is not good naming. QQQ */ bool isOdd() const { return a.isOdd(); } + static inline const Fp& getXi_a() { return xi_a_; } static inline void init(uint32_t xi_a) { assert(Fp::maxSize <= 256); |