Register FAQ Search Today's Posts Mark Forums Read

 2019-08-07, 21:33 #1 baih     Jun 2019 2×17 Posts Question about Exponentiation modulaire how to calculate pow(2,23571176971393,1523213.17) I mean pow(a,e,b) with b non integer = 123213.17 Have a nice day. :)
 2019-08-09, 14:21 #2 lavalamp     Oct 2007 Manchester, UK 2×5×137 Posts For the specific case of 1523213.17, you could compute mod 152321317 instead, then once you have that value use it to compute your final float mod. In general, I suppose it depends on how many decimal digits you have and how much precision you need, but multiplying your modulo by 10^n should work decently well for many inputs.

 Similar Threads Thread Thread Starter Forum Replies Last Post carpetpool Information & Answers 2 2017-11-03 07:24 ramshanker Math 2 2015-10-31 15:28 Unregistered Homework Help 4 2010-08-04 06:38 Greenbank Math 5 2005-09-30 10:20

All times are UTC. The time now is 14:20.

Sun May 22 14:20:26 UTC 2022 up 38 days, 12:21, 0 users, load averages: 1.48, 1.34, 1.23

This forum has received and complied with 0 (zero) government requests for information.

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.
A copy of the license is included in the FAQ.

≠ ± ∓ ÷ × · − √ ‰ ⊗ ⊕ ⊖ ⊘ ⊙ ≤ ≥ ≦ ≧ ≨ ≩ ≺ ≻ ≼ ≽ ⊏ ⊐ ⊑ ⊒ ² ³ °
∠ ∟ ° ≅ ~ ‖ ⟂ ⫛
≡ ≜ ≈ ∝ ∞ ≪ ≫ ⌊⌋ ⌈⌉ ∘ ∏ ∐ ∑ ∧ ∨ ∩ ∪ ⨀ ⊕ ⊗ 𝖕 𝖖 𝖗 ⊲ ⊳
∅ ∖ ∁ ↦ ↣ ∩ ∪ ⊆ ⊂ ⊄ ⊊ ⊇ ⊃ ⊅ ⊋ ⊖ ∈ ∉ ∋ ∌ ℕ ℤ ℚ ℝ ℂ ℵ ℶ ℷ ℸ 𝓟
¬ ∨ ∧ ⊕ → ← ⇒ ⇐ ⇔ ∀ ∃ ∄ ∴ ∵ ⊤ ⊥ ⊢ ⊨ ⫤ ⊣ … ⋯ ⋮ ⋰ ⋱
∫ ∬ ∭ ∮ ∯ ∰ ∇ ∆ δ ∂ ℱ ℒ ℓ
𝛢𝛼 𝛣𝛽 𝛤𝛾 𝛥𝛿 𝛦𝜀𝜖 𝛧𝜁 𝛨𝜂 𝛩𝜃𝜗 𝛪𝜄 𝛫𝜅 𝛬𝜆 𝛭𝜇 𝛮𝜈 𝛯𝜉 𝛰𝜊 𝛱𝜋 𝛲𝜌 𝛴𝜎𝜍 𝛵𝜏 𝛶𝜐 𝛷𝜙𝜑 𝛸𝜒 𝛹𝜓 𝛺𝜔