Skip to content

Instantly share code, notes, and snippets.

jrodatus

  • Maryland
Block or report user

Report or block jrodatus

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View prob_psq.c
/*
* Demo of a close to log-time probabilistic test for squaredness, per:
* http://math.stackexchange.com/a/1360053/253804
*
* Requires libgmp, the GNU Multiple Precision Arithmetic Library:
* https://gmplib.org/
*
* To build, run:
* gcc -O2 prob_psq.c -lgmp -o prob_psq
*/
You can’t perform that action at this time.