Remove trig functions from prelude and change their unit handling (BREAKING) (#6565)

Remove trig functions from prelude and change their unit handling

Signed-off-by: Nick Cameron <nrc@ncameron.org>
This commit is contained in:
Nick Cameron
2025-04-30 12:40:11 +12:00
committed by GitHub
parent fa51b4bbbc
commit 844f229b5a
94 changed files with 5880 additions and 13152 deletions

View File

@ -7,7 +7,7 @@ description: Operations executed exhaust-manifold.kcl
"type": "GroupBegin",
"group": {
"type": "FunctionCall",
"name": "sin",
"name": "math::sin",
"functionSourceRange": [],
"unlabeledArg": null,
"labeledArgs": {}
@ -18,7 +18,7 @@ description: Operations executed exhaust-manifold.kcl
"type": "GroupBegin",
"group": {
"type": "FunctionCall",
"name": "sin",
"name": "math::sin",
"functionSourceRange": [],
"unlabeledArg": null,
"labeledArgs": {}
@ -29,7 +29,7 @@ description: Operations executed exhaust-manifold.kcl
"type": "GroupBegin",
"group": {
"type": "FunctionCall",
"name": "sin",
"name": "math::sin",
"functionSourceRange": [],
"unlabeledArg": null,
"labeledArgs": {}
@ -40,7 +40,7 @@ description: Operations executed exhaust-manifold.kcl
"type": "GroupBegin",
"group": {
"type": "FunctionCall",
"name": "sin",
"name": "math::sin",
"functionSourceRange": [],
"unlabeledArg": null,
"labeledArgs": {}
@ -51,7 +51,7 @@ description: Operations executed exhaust-manifold.kcl
"type": "GroupBegin",
"group": {
"type": "FunctionCall",
"name": "cos",
"name": "math::cos",
"functionSourceRange": [],
"unlabeledArg": null,
"labeledArgs": {}
@ -62,7 +62,7 @@ description: Operations executed exhaust-manifold.kcl
"type": "GroupBegin",
"group": {
"type": "FunctionCall",
"name": "cos",
"name": "math::cos",
"functionSourceRange": [],
"unlabeledArg": null,
"labeledArgs": {}
@ -73,7 +73,7 @@ description: Operations executed exhaust-manifold.kcl
"type": "GroupBegin",
"group": {
"type": "FunctionCall",
"name": "cos",
"name": "math::cos",
"functionSourceRange": [],
"unlabeledArg": null,
"labeledArgs": {}
@ -84,7 +84,7 @@ description: Operations executed exhaust-manifold.kcl
"type": "GroupBegin",
"group": {
"type": "FunctionCall",
"name": "cos",
"name": "math::cos",
"functionSourceRange": [],
"unlabeledArg": null,
"labeledArgs": {}
@ -692,7 +692,7 @@ description: Operations executed exhaust-manifold.kcl
"value": [
{
"type": "Number",
"value": -0.42577929156507266,
"value": -0.4257792915650726,
"ty": {
"type": "Known",
"type": "Count"