Algorithm to find largest prime number smaller than x
How do I calculate the largest prime number smaller than value x?

In actual fact, it doesn't have to be exact, just approximate and close to x.

Algorithm to find largest prime number smaller than x
===

How do I calculate the largest prime number smaller than value x?

In actual fact, it doesn't have to be exact, just approximate and close to x.
