Nicolás Hatcher
a00ecfdade
FIX: Uses lookup tables and lngamma for large numbers
...
Fixes #574
2025-11-25 18:26:14 +01:00
Nicolás Hatcher
e61b15655a
UPDATE: Adds a bunch of tests
2025-11-25 01:20:03 +01:00
Nicolás Hatcher
6822505602
UPDATE: Adds 56 functions in the Statistical section
...
Uses statrs for numerical functions
REFACTOR: Put statistical functions on its own module
This might seem counter-intuitive but the wasm build after this refactor
is 1528 bytes smaller :)
2025-11-25 01:20:03 +01:00
Nicolás Hatcher
67ef3bcf87
FIX: Correct number of arguments for functions
2025-11-23 21:02:59 +01:00
Nicolás Hatcher
41c8d88b80
UPDATE: Adds the rest of the DATABASE functions
2025-11-23 10:48:23 +01:00
Elsa Minsut
ef47c26c50
update: adds unit test for the reciprocal trigonometric functions
2025-11-20 22:13:23 +01:00
Elsa Minsut
5cc61b0de4
update: adds unit test for EXP and SIGN
2025-11-20 22:12:29 +01:00
Nicolás Hatcher
2cab93be18
UPDATE: Also use erfc (thanks copilot!)
2025-11-20 22:01:00 +01:00
Nicolás Hatcher
fd34e46689
UPDATE: Uses statrs instead of our own erf
...
This adds 2630 bytes to the wasm build and a dependency.
It is ok-ish
The idea is that it will help us greatly with the statistical functions
2025-11-20 22:01:00 +01:00
Nicolás Hatcher
1391f196b5
UPDATE: Adds name validation and exposes it in wasm
...
We do a trick I am not proud of. Because all of our errors are Strings,
we don't have a way to separate a name error from an index error,
for instance. What I do in prepend the error with a string that indicates
where it comes from.
2025-11-20 21:44:05 +01:00
Nicolás Hatcher
dc49afa2c3
FIX: Format numbers a tad better
...
I still think there is some way to go, but this is closer to Excel
2025-11-19 23:53:07 +01:00
Nicolás Hatcher
acb90fbb9d
FIX: Issues with trigonometric functions
...
* Right branch for ACOT for negative numbers
* correct error for ACOTH
* Correct approx for COTH for x > 20
2025-11-19 23:53:07 +01:00
Nicolás Hatcher
7676efca44
FIX: Issues with SIGN and EXP
...
Fixes #563
2025-11-19 04:24:23 +01:00
Nicolás Hatcher
eb76d8dd23
FIX: Issues with INT
...
Fixes #535
2025-11-16 20:34:25 +01:00
Nicolás Hatcher
1053d00d22
FIX: Copilot's suggestions
2025-11-16 19:45:18 +01:00
Nicolás Hatcher
5ff4774c5a
FIX: Cast to string now checks for dates, currencies or percentages
...
Fixes part of #535
2025-11-16 19:45:18 +01:00
Nicolás Hatcher
7e966baa0d
FIX: Copilot's catch
2025-11-16 11:29:57 +01:00
Nicolás Hatcher
c52c05aa8e
FIX: Fixes several issues with DATABASE functions
...
Fixes #547
2025-11-16 11:29:57 +01:00
Elsa Minsut
129959137d
update: adds testing for MROUND, TRUNC, and INT ( #542 )
...
* update: available status for implemented functions
* update: adds xlsx test for MROUND, TRUNC and INT
* update: adds unit test for MROUND, TRUNC and INT
2025-11-16 11:25:28 +01:00
Elsa Minsut
471f32f92a
update: adds unit test for ARABIC and ROMAN
2025-11-16 11:22:29 +01:00
Nicolás Hatcher
aa953e1ece
UPDATE: Add some DATABASE functions
...
DAVERAGE
DCOUNT
DGET
DMAX
DMIN
DSUM
2025-11-12 23:18:47 +01:00
Elsa Minsut
3246137545
update: adds unit test for COMBIN and COMBINA
2025-11-12 20:44:08 +01:00
Nicolás Hatcher
4b93174261
FIX: Value of SEC at 0 was incorrect
...
Also fixed imported errors of trigonometrical functions
Fixes #531
2025-11-11 22:25:10 +01:00
Nicolás Hatcher
dd78db3d2b
FIX: NOW shows now formatted output
2025-11-11 08:28:50 +01:00
Nicolás Hatcher
acf334074f
FIX: Include misconfigured test file
2025-11-11 08:28:50 +01:00
Nicolás Hatcher
18db1cf052
FIX: Two small fixes to YEARFRAC
...
* Takes abs value in between two dates
* Follows ODFv1.2 part 2 section 4.11.7.7
2025-11-08 22:40:18 +01:00
Elsa Minsut
ed40f79324
FIX: Skip numerical failure in windows
2025-11-08 17:56:07 +01:00
Elsa Minsut
e0306cb161
update: adds unit test for MOD and QUOTIENT
2025-11-08 17:56:07 +01:00
Nicolás Hatcher Andrés
4a3eef5a81
FIX: TRUE/FALSE for QUOTIENT ( #524 )
...
Excel returns #VALUE! when arguments are boolean
NB: MOD is different!
2025-11-08 17:25:02 +01:00
Nicolás Hatcher Andrés
1b38d79b81
FIX: Make clippy happy ( #521 )
2025-11-08 08:53:50 +01:00
Elsa Minsut
a2d11a42cc
update: adds docs, unit tests and xlsx tests for EVEN and ODD functions ( #517 )
...
* update: adds unit test for EVEN and ODD functions
* update: adds xlsx test for EVEN and ODD functions
* update: adds EVEN and ODD doc pages
* update: Math and Trigonometry main page links to new functions
* update: changes to functions badge type in main Math and Trigonometry page
2025-11-07 04:26:01 +01:00
Elsa Minsut
480a2d1769
update: adds docs, unit tests and xlsx tests for DATEVALUE and TIMEVALUE functions ( #506 )
...
* update: adds documentation for DATEVALUE and TIMEVALUE functions
* update: adds DATEVALUE and TIMEVALUE unit tests
* update: adds DATEVALUE and TIMEVALUE xlsx tests
* update: Date and Time main page links
* update: adds testing for multiple arguments
* update: removes links to example files
* update: removes DATEVALUE and TIMEVALUE xlsx tests
2025-11-06 22:56:14 +01:00
Nicolás Hatcher Andrés
d4f69f2ec2
UPDATE: Adds missing information functions ( #514 )
...
* UPDATE: Adds missing information functions
Implements N, CELL, INFO and SHEETS
Note that INFO is implemented as N/IMPL! and CELL is not implemented
for those values that is not implemented in Excel for the web
* FIX: Copilot fixes
* FIX: Make clippy happy
2025-11-06 18:58:39 +01:00
Nicolás Hatcher Andrés
68a33a5f87
UPDATE: Adds COMBIN, COMBINA and SUMSQ ( #511 )
2025-11-04 22:16:16 +01:00
Nicolás Hatcher Andrés
e5854ab3d7
UPDATE: Adds ARABIC and ROMAN ( #509 )
2025-11-03 23:44:22 +01:00
Nicolás Hatcher Andrés
7f57826371
UPDATE: Implements BASE and DECIMAL ( #504 )
2025-11-02 23:30:43 +01:00
Nicolás Hatcher Andrés
3e2b177ffe
UPDATE: Adds GCD and LCM functions ( #502 )
...
* UPDATE: Adds GCD and LCM functions
They follow SUM and accept arrays
* FIX: Implement copilot suggestions
2025-11-02 19:50:58 +01:00
Nicolás Hatcher Andrés
efb3b66777
UPDATE: Adds time formats ( #501 )
...
* UPDATE: Adds time formats
This is the initial implementation of time formats. Simple things like:
"hh:mm:ss AM/PM"
works
* FIX: Correct padded vs unppadded time formats
Thank you copilot!
2025-11-02 13:18:26 +01:00
Nicolás Hatcher Andrés
b2d848ae2a
UPDATE: Adds a bunch of mathematical functions ( #496 )
2025-11-01 19:32:49 +01:00
Nicolás Hatcher Andrés
c8ae835bbe
UPDATE: Adds unit tests for DEGREES and RADIANS ( #495 )
2025-11-01 11:23:29 +01:00
Nicolás Hatcher Andrés
6ce4756d55
UPDATE: Adds DEGREES and RADIANS ( #493 )
2025-10-30 23:45:29 +01:00
Nicolás Hatcher Andrés
a768bc5974
Bugfix/nicolas bufixes ( #491 )
...
* UPDATE: package lock
* FIX: Add function definitions
* FIX: Small fix to get FACT working
* FIX: We only need integer FACT and FACTDOUBLE
* FIX: Make clippy happy
2025-10-30 23:24:47 +01:00
Nicolás Hatcher Andrés
7e379e24e7
UPDATE: Adds simple functions ( #489 )
...
Exp, Fact, Factdouble and sign
2025-10-30 18:28:07 +01:00
Nicolás Hatcher Andrés
f2f4992230
UPDATE: Add some missing trigonometric functions ( #487 )
...
Acot, Acoth, Cot, Coth, Csc, Csch, Sec, Sech,
2025-10-30 17:38:02 +01:00
Nicolás Hatcher Andrés
a890865eaf
FIX: Quote sheet names properly ( #486 )
...
Fixes #485
2025-10-29 23:26:18 +01:00
Nicolás Hatcher Andrés
1edfb2df1c
FIX: Correct order when stringify -(A1^1.22) and (-A1)^1.22 ( #484 )
...
Fixes #483
2025-10-27 19:09:31 +01:00
Nicolás Hatcher Andrés
fad8bc7d0c
UPDATE: Update release to 0.6.0 ( #463 )
...
Should we have a single version number at the root?
2025-10-19 18:32:07 +02:00
Daniel González-Albo
1b34db0bc3
Merge pull request #455 from ironcalc/empty-fix
...
FIX: Evaluate after deleting content in the user API
2025-10-19 17:25:48 +02:00
Daniel González-Albo
d9aac1d77c
Merge pull request #460 from ironcalc/xfln
...
FIX: DAYS and ISOWEEKNUM are "XLFN" functions
2025-10-19 17:24:40 +02:00
Nicolás Hatcher
2dbc3f4790
FIX: DAYS and ISOWEEKNUM are "XLFN" functions
2025-10-19 17:12:12 +02:00