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

@ -59,7 +59,7 @@ description: Artifact commands socket-head-cap-screw.kcl
"type": "move_path_pen",
"path": "[uuid]",
"to": {
"x": 3.975,
"x": 3.9751,
"y": 0.0,
"z": 0.0
}
@ -221,8 +221,8 @@ description: Artifact commands socket-head-cap-screw.kcl
"type": "move_path_pen",
"path": "[uuid]",
"to": {
"x": 1.984,
"y": 1.146,
"x": 1.984375,
"y": 1.1456794404231634,
"z": 0.0
}
}
@ -243,8 +243,8 @@ description: Artifact commands socket-head-cap-screw.kcl
"segment": {
"type": "line",
"end": {
"x": -0.0,
"y": -2.291,
"x": -0.00000000000000042091579786894735,
"y": -2.2913588808463268,
"z": 0.0
},
"relative": true
@ -260,8 +260,8 @@ description: Artifact commands socket-head-cap-screw.kcl
"segment": {
"type": "line",
"end": {
"x": -1.984,
"y": -1.146,
"x": -1.9843749999999996,
"y": -1.1456794404231636,
"z": 0.0
},
"relative": true
@ -277,8 +277,8 @@ description: Artifact commands socket-head-cap-screw.kcl
"segment": {
"type": "line",
"end": {
"x": -1.984,
"y": 1.146,
"x": -1.984375,
"y": 1.1456794404231634,
"z": 0.0
},
"relative": true
@ -294,8 +294,8 @@ description: Artifact commands socket-head-cap-screw.kcl
"segment": {
"type": "line",
"end": {
"x": 0.0,
"y": 2.291,
"x": 0.00000000000000014030526595631578,
"y": 2.2913588808463268,
"z": 0.0
},
"relative": true
@ -311,8 +311,8 @@ description: Artifact commands socket-head-cap-screw.kcl
"segment": {
"type": "line",
"end": {
"x": 1.984,
"y": 1.146,
"x": 1.984375,
"y": 1.1456794404231634,
"z": 0.0
},
"relative": true