How do I find the nearest prime number?

后端 未结 0 977
耶瑟儿~
耶瑟儿~ 2021-02-13 08:04

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

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