summary refs log tree commit diff stats
path: root/lib/pure/math.nim
Commit message (Expand)AuthorAgeFilesLines
* fixes #5966Fabian Keller2017-06-201-4/+7
* Add sgn() function to the math module (#5971)John Novak2017-06-151-0/+25
* bcc misses the same functions like vccAdrianV2016-12-281-1/+1
* Fixed #4532, VS2010 now can compile Nimandri lim2016-08-081-7/+86
* Removed trailing whitespace in math moduleMathijs Saey2016-08-051-1/+1
* Fixed #4574Mathijs Saey2016-08-051-1/+1
* Corrected comment in maths library.A. S. Budden2016-06-201-1/+1
* Update math.nimmatkuki2016-06-181-1/+1
* Windows MSVC < 2012 'round' function updatematkuki2016-06-171-5/+11
* Changed math.nim tests to use newly defined ==~ operatorA. S. Budden2016-05-311-24/+24
* Correction to round0 following review.A. S. Budden2016-05-311-1/+1
* Implemented function to split floating point numbers at the decimal place (eq...A. S. Budden2016-05-311-0/+25
* Modification to implementation of round() such that it returns a float and ac...A. S. Budden2016-05-311-25/+67
* moved random procs from math to its own module (breaking change)Andreas Rumpf2016-05-301-110/+0
* Merge branch 'patch-8' of https://github.com/apense/Nim into apense-patch-8Andreas Rumpf2016-05-301-52/+101
|\
| * Fixed silly format errorapense2015-06-241-1/+1
| * Converted tabsapense2015-06-241-39/+39
| * Rewrote procs for float32/float64apense2015-06-241-86/+128
* | Setting TAU to 2 * PIgmpreussner2016-03-171-1/+1
* | Added TAU constant.gmpreussner2016-03-171-0/+1
* | Removal of stats procs for openarray (use the RunningStat methodology)JamesP2015-11-111-20/+0
* | Removal of RunningStats ready for new stats.nim pure lib fileJamesP2015-11-071-42/+0
* | fix float comparision failure in math testsAman Gupta2015-10-021-1/+1
* | fixes #3312Araq2015-09-181-15/+14
* | math.nim works with NimScriptAraq2015-08-211-7/+9
* | Fix exponentiation operation to avoid overflow.Reimer Behrends2015-08-141-1/+3
* | Corrected erroneous descriptionapense2015-06-291-1/+2
* | Added some documentation and examplesapense2015-06-291-20/+47
* | disable vcc specific code which doesn't workAraq2015-06-291-39/+39
* | Merge pull request #2977 from apense/patch-5Andreas Rumpf2015-06-251-0/+13
|\ \ | |/ |/|
| * Specific float32/float64 procsapense2015-06-241-8/+4
| * Conversion between radians and degrees.Fixes #2881apense2015-06-241-0/+17
* | Added documentation for modapense2015-06-241-0/+6
|/
* Added some C99 funcsapense2015-06-181-0/+18
* Updated RNG for Visual Capense2015-06-141-14/+27
* Discarded randomize for windowsapense2015-06-111-6/+9
* Updated random functionsapense2015-06-111-4/+12
* Document explicitly the behaviour of math.gcd with float argumentsBoris Vassilev2015-05-131-0/+3
* Merge pull request #2537 from jsanjuas/develVarriount2015-05-071-6/+11
|\
| * Convert to float before sumJosep Sanjuas2015-04-181-2/+3
| * Document toFloat is necessaryJosep Sanjuas2015-04-181-0/+1
| * Generalize variance to other typesJosep Sanjuas2015-04-181-3/+3
| * Generalize mean to other typesJosep Sanjuas2015-04-121-2/+5
* | fixes isPowerOfTwo returning true on the smallest integerKoala Zen2015-05-061-1/+1
* | Don't run non-test code when defined(testing)Oleh Prypin2015-04-211-1/+3
|/
* no side effects on math procs, fixes #2458Simon Hafner2015-04-041-0/+7
* Make gcd iterative instead of recursivedef2015-02-161-4/+5
* Remove shuffle againdef2015-02-161-8/+0
* Export new math procsdef2015-02-161-2/+2
* Add shuffle to math moduledef2015-02-161-0/+8
dd SO_REUSEPORT support' href='/ahoang/Nim/commit/lib/pure/asynchttpserver.nim?h=devel&id=e174aa1dbccd6c5c5b6a05543da41158c3e2c374'>e174aa1db ^
6f155af80 ^
cd70bba33 ^
13e3c0d5b ^
e174aa1db ^
cd70bba33 ^
3074973f5 ^
cd70bba33 ^
cf5c8a204 ^

3074973f5 ^
cf5c8a204 ^



cd70bba33 ^
2410e667b ^
3074973f5 ^
cd70bba33 ^
62e1b3e2e ^
cd70bba33 ^
62e1b3e2e ^
065210e6a ^



de7f42a74 ^
065210e6a ^
8a0b94517 ^
065210e6a ^




cf5c8a204 ^
cd70bba33 ^
477b3594e ^

159643824 ^











477b3594e ^


cd70bba33 ^
f830aed86 ^
cd70bba33 ^

9471f585c ^
cd70bba33 ^





9471f585c ^
bcdc5ddd3 ^
f830aed86 ^
9471f585c ^

6e321f799 ^
477b3594e ^

3074973f5 ^
28e3ad945 ^

477b3594e ^

32db6798a ^
cf5c8a204 ^


3074973f5 ^
eb4263a0f ^
477b3594e ^
cf5c8a204 ^

cf5c8a204 ^
475314922 ^
860264a38 ^
475314922 ^
860264a38 ^

159643824 ^
860264a38 ^



f830aed86 ^
159643824 ^



860264a38 ^



477b3594e ^
28e3ad945 ^
477b3594e ^
26c7a76c8 ^




159643824 ^
26c7a76c8 ^
477b3594e ^




159643824 ^
477b3594e ^

159643824 ^
477b3594e ^

cf5c8a204 ^

cf5c8a204 ^

28e3ad945 ^

159643824 ^
cf5c8a204 ^
28e3ad945 ^
477b3594e ^
159643824 ^


28e3ad945 ^

477b3594e ^
ca7dd345d ^




cf5c8a204 ^
26c7a76c8 ^
cf5c8a204 ^

3074973f5 ^
cf5c8a204 ^


477b3594e ^
b3a3f01d1 ^



3074973f5 ^
b3a3f01d1 ^

374706b1c ^
b3a3f01d1 ^

f842f9d6a ^


26c7a76c8 ^
bcdc5ddd3 ^
b3a3f01d1 ^
cf5c8a204 ^
26c7a76c8 ^

cf5c8a204 ^
9df1704aa ^


cf5c8a204 ^

8be9e4640 ^
cf5c8a204 ^
8be9e4640 ^
cf5c8a204 ^



00b6a1448 ^
cf5c8a204 ^


cd70bba33 ^
9471f585c ^

cd70bba33 ^




28a7c874b ^
13e3c0d5b ^

e174aa1db ^

cd70bba33 ^

2410e667b ^
cd70bba33 ^



374706b1c ^
4f5f98f0b ^

cd70bba33 ^
9471f585c ^
7ebbc0957 ^


32109a786 ^
62e454f41 ^

9471f585c ^
62e454f41 ^



3074973f5 ^
62e454f41 ^
6e321f799 ^
62e454f41 ^

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298