How do I find the nearest prime number?

后端 未结 0 1674
别那么骄傲
别那么骄傲 2021-02-13 08:16

Is there any nice algorithm to find the nearest prime number to a given real number? I only need to search within the first 100 primes or so.

At present, I

相关标签:
回答
  • 消灭零回复
提交回复
热议问题