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:
@ -799,7 +799,7 @@ description: Operations executed focusrite-scarlett-mounting-bracket.kcl
|
||||
"distance": {
|
||||
"value": {
|
||||
"type": "Number",
|
||||
"value": 54.667,
|
||||
"value": 54.666666666666664,
|
||||
"ty": {
|
||||
"type": "Default",
|
||||
"len": {
|
||||
@ -1097,7 +1097,7 @@ description: Operations executed focusrite-scarlett-mounting-bracket.kcl
|
||||
"distance": {
|
||||
"value": {
|
||||
"type": "Number",
|
||||
"value": 54.667,
|
||||
"value": 54.666666666666664,
|
||||
"ty": {
|
||||
"type": "Default",
|
||||
"len": {
|
||||
@ -1313,7 +1313,7 @@ description: Operations executed focusrite-scarlett-mounting-bracket.kcl
|
||||
"name": "PI",
|
||||
"value": {
|
||||
"type": "Number",
|
||||
"value": 3.142,
|
||||
"value": 3.141592653589793,
|
||||
"ty": {
|
||||
"type": "Unknown"
|
||||
}
|
||||
@ -1329,7 +1329,7 @@ description: Operations executed focusrite-scarlett-mounting-bracket.kcl
|
||||
"name": "E",
|
||||
"value": {
|
||||
"type": "Number",
|
||||
"value": 2.718,
|
||||
"value": 2.718281828459045,
|
||||
"ty": {
|
||||
"type": "Known",
|
||||
"type": "Count"
|
||||
@ -1346,7 +1346,7 @@ description: Operations executed focusrite-scarlett-mounting-bracket.kcl
|
||||
"name": "TAU",
|
||||
"value": {
|
||||
"type": "Number",
|
||||
"value": 6.283,
|
||||
"value": 6.283185307179586,
|
||||
"ty": {
|
||||
"type": "Known",
|
||||
"type": "Count"
|
||||
|
||||
Reference in New Issue
Block a user