23 Commits

Author SHA1 Message Date
jos
2353c4a61e Renamed folders util to utils 2015-07-18 13:22:38 +02:00
Max Bruckner
8a96241038 Remove LaTeX of utils functions from util/latex.js 2015-06-14 02:23:41 +02:00
jos
6c7bf4acf0 Removed boolean, string, and null from the list with argument types, only leaving the directly supported types (which types can be converted to supported types is determined externally). Consistently renamed primitive types lower case (boolean, string, number, null) and non-primitive types uppercase (Complex, BigNumber, Function, Array, ...). 2015-05-20 21:08:26 +02:00
jos
b831ad2b72 Added support for fractions to function math.format (including output option fraction='decimal' | 'ratio') 2015-05-12 19:43:11 +02:00
jos
5cab0641e9 Simplified the factory structure a little bit. Reworked reviver and BigNumber to factories 2015-03-26 21:03:55 +01:00
jos
b028c7e7cf Refactored clone, filter, forEach, format, map, print, sort, typeof to typed-function. 2015-03-22 21:07:57 +01:00
jos
40986a1325 Using strict mode now in all files (added 'use strict'; on top of every file) 2014-07-18 23:19:14 +02:00
jos
7836bcb06a Fixed a typo in the comments of format 2014-07-01 14:53:20 +02:00
jos
31aa5655b1 Added a section "Where:" to some of the reference docs 2014-05-22 22:15:40 +02:00
jos
6c8104f938 More docs added 2014-05-15 21:43:08 +02:00
josdejong
97cbb0093f Moved errors to their own namespace and folder 2014-04-11 18:02:29 +02:00
josdejong
492d7f4c4f Moved ArgumentsError from lib/type/ to lib/util/ 2014-04-06 21:25:46 +02:00
josdejong
0210ec0d41 UnsupportedTypeError can now determine the type of values 2013-11-28 17:15:28 +01:00
josdejong
f5ea5938a9 Renamed scientific notation to exponential in function format 2013-11-28 16:28:04 +01:00
josdejong
3f11056330 Implemented BigNumber support for math.format. 2013-11-16 19:27:18 +01:00
josdejong
04c41fb42e Implemented advanced options in format to customize precision, scientific/fixed/auto notation (see #100). 2013-10-24 15:12:04 +02:00
josdejong
c8a289a08c Removed unnecessary .js suffix in module require statements 2013-10-20 14:01:31 +02:00
josdejong
f42f5698cb Removed global option options.format.precision. When formatted, numbers are no longer rounded to 5 digits by default. 2013-10-20 13:40:28 +02:00
josdejong
e61d2f965b Fixes in the new function math.format(precision). Updated docs and tests. 2013-10-19 21:44:54 +02:00
josdejong
524a915beb Updated comments 2013-10-19 18:12:20 +02:00
josdejong
a4bda611df Implemented function print (splitted from function format) 2013-10-19 18:10:50 +02:00
josdejong
2dc6ac6cdf Implemented support for booleans in all relevant functions 2013-09-02 21:36:52 +02:00
Sebastien Piquemal
a595266347 added all files in lib/ 2013-08-14 15:39:21 +04:00