dream-num / univer

Univer is an open-source alternative to Google Sheets, Slides, and Docs

Home Page:https://univer.ai

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Feature] Supplement Math Formulas for Formula Engine

Dushusir opened this issue · comments

Initial checklist

  • Is this really a problem?
  • I have searched the Github Issues for similar issues, but did not find anything.

How to contribute formulas: https://univer.ai/guides/sheet/customization/formula#how-to-add-formulas-in-formula-engine

It is highly recommended that you refer to the algorithms of similar formulas that have been implemented

https://github.com/dream-num/univer/blob/dev/packages/engine-formula/src/functions/math/function-map.ts

Especially for

ASIN
ASINH
ATAN
ATAN2
ATANH
COS

These, like Acos, already have corresponding underlying implementations in ArrayValueObject

Solution

Formulas List:

  • ACOTH
  • ASIN
  • ASINH
  • ATAN
  • ATAN2
  • ATANH
  • COS
  • COSH
  • COT
  • COTH
  • CSC
  • CSCH