Change KCL stdlib floating-point results to not be platform dependent (#7499)

* Add libm dependency

* Change to use libm for trig functions

* Remove redactions for floating point

* Update output

* Use clippy to prevent stdlib math sneaking back in

---------

Co-authored-by: Adam Chalmers <adam.chalmers@zoo.dev>
This commit is contained in:
Jonathan Tran
2025-06-16 21:34:50 -04:00
committed by GitHub
parent 1a4a030671
commit 7486d25cf1
433 changed files with 24677 additions and 24672 deletions

View File

@ -121,7 +121,7 @@ description: Artifact commands gridfinity-baseplate-magnets.kcl
"segment": {
"type": "line",
"end": {
"x": 2.15,
"x": 2.149999999999999,
"y": -2.15,
"z": 0.0
},
@ -155,7 +155,7 @@ description: Artifact commands gridfinity-baseplate-magnets.kcl
"segment": {
"type": "line",
"end": {
"x": 0.7,
"x": 0.6999999999999996,
"y": -0.7,
"z": 0.0
},
@ -369,7 +369,7 @@ description: Artifact commands gridfinity-baseplate-magnets.kcl
"segment": {
"type": "line",
"end": {
"x": 2.15,
"x": 2.149999999999999,
"y": -2.15,
"z": 0.0
},
@ -403,7 +403,7 @@ description: Artifact commands gridfinity-baseplate-magnets.kcl
"segment": {
"type": "line",
"end": {
"x": 0.7,
"x": 0.6999999999999996,
"y": -0.7,
"z": 0.0
},
@ -2219,7 +2219,7 @@ description: Artifact commands gridfinity-baseplate-magnets.kcl
"type": "move_path_pen",
"path": "[uuid]",
"to": {
"x": 2.85,
"x": 2.8499999999999996,
"y": 13.0,
"z": 0.0
}
@ -2947,7 +2947,7 @@ description: Artifact commands gridfinity-baseplate-magnets.kcl
"type": "move_path_pen",
"path": "[uuid]",
"to": {
"x": 2.85,
"x": 2.8499999999999996,
"y": 13.0,
"z": 0.0
}

View File

@ -2968,7 +2968,7 @@ description: Operations executed gridfinity-baseplate-magnets.kcl
"name": "PI",
"value": {
"type": "Number",
"value": 3.142,
"value": 3.141592653589793,
"ty": {
"type": "Unknown"
}
@ -2984,7 +2984,7 @@ description: Operations executed gridfinity-baseplate-magnets.kcl
"name": "E",
"value": {
"type": "Number",
"value": 2.718,
"value": 2.718281828459045,
"ty": {
"type": "Known",
"type": "Count"
@ -3001,7 +3001,7 @@ description: Operations executed gridfinity-baseplate-magnets.kcl
"name": "TAU",
"value": {
"type": "Number",
"value": 6.283,
"value": 6.283185307179586,
"ty": {
"type": "Known",
"type": "Count"