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

@ -174,7 +174,7 @@ description: Operations executed parametric_with_tan_arc.kcl
"name": "thickness",
"value": {
"type": "Number",
"value": 0.362,
"value": 0.36181361349331637,
"ty": {
"type": "Default",
"len": {
@ -207,7 +207,7 @@ description: Operations executed parametric_with_tan_arc.kcl
"name": "filletR",
"value": {
"type": "Number",
"value": 0.724,
"value": 0.7236272269866327,
"ty": {
"type": "Default",
"len": {
@ -391,7 +391,7 @@ description: Operations executed parametric_with_tan_arc.kcl
"name": "PI",
"value": {
"type": "Number",
"value": 3.142,
"value": 3.141592653589793,
"ty": {
"type": "Unknown"
}
@ -407,7 +407,7 @@ description: Operations executed parametric_with_tan_arc.kcl
"name": "E",
"value": {
"type": "Number",
"value": 2.718,
"value": 2.718281828459045,
"ty": {
"type": "Known",
"type": "Count"
@ -424,7 +424,7 @@ description: Operations executed parametric_with_tan_arc.kcl
"name": "TAU",
"value": {
"type": "Number",
"value": 6.283,
"value": 6.283185307179586,
"ty": {
"type": "Known",
"type": "Count"