Skip to content

Commit

Permalink
LICENSE.md: list randmtzig.c file's license (BSD-3)
Browse files Browse the repository at this point in the history
Although this was previously included in the Rmath sources, it was
not part of Rmath and had a different, more liberal license.
  • Loading branch information
StefanKarpinski committed Jul 11, 2016
1 parent e95f5f2 commit 0b98dbe
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 10 deletions.
2 changes: 2 additions & 0 deletions LICENSE.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,13 @@ for exceptions.
> WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Julia includes code from the following projects, which have their own licenses:

- [LDC](https://github.com/ldc-developers/ldc/blob/master/LICENSE) (for ccall/cfunction ABI definitions) [BSD-3]. The portion of code that Julia uses from LDC is [BSD-3] licensed.
- [LLVM](http:https://llvm.org/releases/3.7.0/LICENSE.TXT) (for parts of src/jitlayers.cpp and src/disasm.cpp) [BSD-3, effectively]
- [MUSL](http:https://git.musl-libc.org/cgit/musl/tree/COPYRIGHT) (for getopt implementation on Windows) [MIT]
- [MINGW](https://sourceforge.net/p/mingw/mingw-org-wsl/ci/legacy/tree/mingwrt/mingwex/dirname.c) (for dirname implementation on Windows) [MIT]
- [NetBSD](http:https://www.netbsd.org/about/redistribution.html) (for setjmp, longjmp, and strptime implementations on Windows) [BSD-3]
- [randmtzig.c](https://github.com/JuliaLang/julia/blob/master/test/perf/micro/randmtzig.c) for Gaussian random number generation (for C benchmarks only) [BSD-3]

The Julia language links to the following external libraries, which have their
own licenses:
Expand Down
16 changes: 6 additions & 10 deletions test/perf/micro/randmtzig.c
Original file line number Diff line number Diff line change
@@ -1,12 +1,3 @@
/*
Parts Copyright (C) 2012 Viral B. Shah
All rights reserved.
Modifications made for julia to support dsfmt and only __LP64__ systems.
52-bits of randomness are used from the mantissa of random double precision
numbers generated by dsfmt.
*/

/*
A C-program for MT19937, with initialization improved 2002/2/10.
Coded by Takuji Nishimura and Makoto Matsumoto.
Expand Down Expand Up @@ -50,9 +41,14 @@
Any feedback is very welcome.
http:https://www.math.keio.ac.jp/matumoto/emt.html
email: [email protected]
*/

/*
Modified by Viral B. Shah for julia to support dsfmt and only __LP64__
systems. 52-bits of randomness are used from the mantissa of random double
precision numbers generated by dsfmt.
*/

#include <math.h>
#include <stdio.h>
#include <stddef.h>
Expand Down

0 comments on commit 0b98dbe

Please sign in to comment.