bigdecimal 1.2.7 → 1.3.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bigdecimal.gemspec +26 -18
- data/{bigdecimal.c → ext/bigdecimal/bigdecimal.c} +481 -340
- data/{bigdecimal.h → ext/bigdecimal/bigdecimal.h} +83 -10
- data/ext/bigdecimal/extconf.rb +35 -0
- data/lib/bigdecimal/jacobian.rb +1 -0
- data/lib/bigdecimal/ludcmp.rb +1 -0
- data/lib/bigdecimal/math.rb +10 -9
- data/lib/bigdecimal/newton.rb +1 -0
- data/lib/bigdecimal/util.rb +58 -51
- data/sample/linear.rb +12 -10
- data/sample/nlsolve.rb +6 -5
- data/sample/pi.rb +1 -0
- metadata +85 -14
- data/README +0 -60
- data/extconf.rb +0 -10
- data/{depend → ext/bigdecimal/depend} +1 -1
data/README
DELETED
@@ -1,60 +0,0 @@
|
|
1
|
-
|
2
|
-
Ruby BIGDECIMAL(Variable Precision) extension library.
|
3
|
-
Copyright (C) 1999 by Shigeo Kobayashi(shigeo@tinyforest.gr.jp)
|
4
|
-
|
5
|
-
BigDecimal is copyrighted free software by Shigeo Kobayashi <shigeo@tinyforest.gr.jp>.
|
6
|
-
You can redistribute it and/or modify it under either the terms of the GPL
|
7
|
-
(see COPYING file), or the conditions below:
|
8
|
-
|
9
|
-
1. You may make and give away verbatim copies of the source form of the
|
10
|
-
software without restriction, provided that you duplicate all of the
|
11
|
-
original copyright notices and associated disclaimers.
|
12
|
-
|
13
|
-
2. You may modify your copy of the software in any way, provided that
|
14
|
-
you do at least ONE of the following:
|
15
|
-
|
16
|
-
a) place your modifications in the Public Domain or otherwise
|
17
|
-
make them Freely Available, such as by posting said
|
18
|
-
modifications to Usenet or an equivalent medium, or by allowing
|
19
|
-
the author to include your modifications in the software.
|
20
|
-
|
21
|
-
b) use the modified software only within your corporation or
|
22
|
-
organization.
|
23
|
-
|
24
|
-
c) rename any non-standard executables so the names do not conflict
|
25
|
-
with standard executables, which must also be provided.
|
26
|
-
|
27
|
-
d) make other distribution arrangements with the author.
|
28
|
-
|
29
|
-
3. You may distribute the software in object code or executable
|
30
|
-
form, provided that you do at least ONE of the following:
|
31
|
-
|
32
|
-
a) distribute the executables and library files of the software,
|
33
|
-
together with instructions (in the manual page or equivalent)
|
34
|
-
on where to get the original distribution.
|
35
|
-
|
36
|
-
b) accompany the distribution with the machine-readable source of
|
37
|
-
the software.
|
38
|
-
|
39
|
-
c) give non-standard executables non-standard names, with
|
40
|
-
instructions on where to get the original software distribution.
|
41
|
-
|
42
|
-
d) make other distribution arrangements with the author.
|
43
|
-
|
44
|
-
4. You may modify and include the part of the software into any other
|
45
|
-
software (possibly commercial).
|
46
|
-
|
47
|
-
5. THIS SOFTWARE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR
|
48
|
-
IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
|
49
|
-
WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR
|
50
|
-
PURPOSE.
|
51
|
-
|
52
|
-
* The Author
|
53
|
-
|
54
|
-
Feel free to send comments and bug reports to the ruby-core team.
|
55
|
-
|
56
|
-
http://bugs.ruby-lang.org
|
57
|
-
|
58
|
-
-------------------------------------------------------
|
59
|
-
created at: Thu Dec 22 1999
|
60
|
-
updated at: Wed Sep 28 2011
|
data/extconf.rb
DELETED
@@ -4,10 +4,10 @@ bigdecimal.o: $(arch_hdrdir)/ruby/config.h
|
|
4
4
|
bigdecimal.o: $(hdrdir)/ruby/defines.h
|
5
5
|
bigdecimal.o: $(hdrdir)/ruby/intern.h
|
6
6
|
bigdecimal.o: $(hdrdir)/ruby/missing.h
|
7
|
+
bigdecimal.o: $(hdrdir)/ruby/ruby.h
|
7
8
|
bigdecimal.o: $(hdrdir)/ruby/st.h
|
8
9
|
bigdecimal.o: $(hdrdir)/ruby/subst.h
|
9
10
|
bigdecimal.o: $(hdrdir)/ruby/util.h
|
10
|
-
bigdecimal.o: $(hdrdir)/ruby/ruby.h
|
11
11
|
bigdecimal.o: bigdecimal.c
|
12
12
|
bigdecimal.o: bigdecimal.h
|
13
13
|
# AUTOGENERATED DEPENDENCIES END
|