This makes a very nice addition.

Write a few lines as documentation:


https://github.com/racket/math/blob/master/math-doc/math/scribblings/math-number-theory.scrbl

Move the tests to:


https://github.com/racket/math/blob/master/math-test/math/tests/number-theory-tests.rkt

Send a PR at Github.


If you have time consider adding the Legendre symbol at the same time?

    http://mathworld.wolfram.com/LegendreSymbol.html

/Jens Axel


2015-09-11 11:59 GMT+02:00 eu90h <[email protected]>:

> Hello,
>
> I wrote a small procedure computing the Jacobi symbol. I thought it might
> be cool/useful to put in the math/number-theory pkg if possible.
> The procedure is contained in this gist
> <https://gist.github.com/eu90h/8a7c04103b9e54d0fa56>, along with some
> test vectors.
>
> Thanks.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Racket Developers" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/racket-dev/8a0ab0ad-5b76-4db6-b3be-d26f2e1cb4b3%40googlegroups.com
> <https://groups.google.com/d/msgid/racket-dev/8a0ab0ad-5b76-4db6-b3be-d26f2e1cb4b3%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>



-- 
-- 
Jens Axel Søgaard

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/racket-dev/CABefVgzpmfW7pieTs8cVaKbNwXZHVnhpjG6bTP6gHtg%3DJ0QenQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to