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:
		@ -60,7 +60,7 @@ description: Artifact commands shepherds-hook-bolt.kcl
 | 
			
		||||
        "path": "[uuid]",
 | 
			
		||||
        "to": {
 | 
			
		||||
          "x": 0.0,
 | 
			
		||||
          "y": -22.138,
 | 
			
		||||
          "y": -22.13777608090537,
 | 
			
		||||
          "z": 0.0
 | 
			
		||||
        }
 | 
			
		||||
      }
 | 
			
		||||
@ -82,7 +82,7 @@ description: Artifact commands shepherds-hook-bolt.kcl
 | 
			
		||||
          "type": "line",
 | 
			
		||||
          "end": {
 | 
			
		||||
            "x": 0.0,
 | 
			
		||||
            "y": -17.138,
 | 
			
		||||
            "y": -17.13777608090537,
 | 
			
		||||
            "z": 0.0
 | 
			
		||||
          },
 | 
			
		||||
          "relative": false
 | 
			
		||||
@ -98,8 +98,8 @@ description: Artifact commands shepherds-hook-bolt.kcl
 | 
			
		||||
        "segment": {
 | 
			
		||||
          "type": "tangential_arc_to",
 | 
			
		||||
          "to": {
 | 
			
		||||
            "x": 4.104,
 | 
			
		||||
            "y": 5.861,
 | 
			
		||||
            "x": 4.104241719908028,
 | 
			
		||||
            "y": 5.861464631474469,
 | 
			
		||||
            "z": 0.0
 | 
			
		||||
          },
 | 
			
		||||
          "angle_snap_increment": null
 | 
			
		||||
@ -115,8 +115,8 @@ description: Artifact commands shepherds-hook-bolt.kcl
 | 
			
		||||
        "segment": {
 | 
			
		||||
          "type": "tangential_arc_to",
 | 
			
		||||
          "to": {
 | 
			
		||||
            "x": -14.497,
 | 
			
		||||
            "y": 17.276,
 | 
			
		||||
            "x": -14.496546565321292,
 | 
			
		||||
            "y": 17.2763114494309,
 | 
			
		||||
            "z": 0.0
 | 
			
		||||
          },
 | 
			
		||||
          "angle_snap_increment": null
 | 
			
		||||
@ -131,7 +131,7 @@ description: Artifact commands shepherds-hook-bolt.kcl
 | 
			
		||||
        "origin": {
 | 
			
		||||
          "x": 0.0,
 | 
			
		||||
          "y": 0.0,
 | 
			
		||||
          "z": -22.138
 | 
			
		||||
          "z": -22.13777608090537
 | 
			
		||||
        },
 | 
			
		||||
        "x_axis": {
 | 
			
		||||
          "x": 1.0,
 | 
			
		||||
@ -497,8 +497,8 @@ description: Artifact commands shepherds-hook-bolt.kcl
 | 
			
		||||
        "type": "move_path_pen",
 | 
			
		||||
        "path": "[uuid]",
 | 
			
		||||
        "to": {
 | 
			
		||||
          "x": 2.04,
 | 
			
		||||
          "y": -52.138,
 | 
			
		||||
          "x": 2.03995,
 | 
			
		||||
          "y": -52.13777608090537,
 | 
			
		||||
          "z": 0.0
 | 
			
		||||
        }
 | 
			
		||||
      }
 | 
			
		||||
@ -519,7 +519,7 @@ description: Artifact commands shepherds-hook-bolt.kcl
 | 
			
		||||
        "segment": {
 | 
			
		||||
          "type": "line",
 | 
			
		||||
          "end": {
 | 
			
		||||
            "x": 0.46,
 | 
			
		||||
            "x": 0.46004999999999996,
 | 
			
		||||
            "y": 0.375,
 | 
			
		||||
            "z": 0.0
 | 
			
		||||
          },
 | 
			
		||||
@ -536,7 +536,7 @@ description: Artifact commands shepherds-hook-bolt.kcl
 | 
			
		||||
        "segment": {
 | 
			
		||||
          "type": "line",
 | 
			
		||||
          "end": {
 | 
			
		||||
            "x": -0.46,
 | 
			
		||||
            "x": -0.46004999999999996,
 | 
			
		||||
            "y": 0.375,
 | 
			
		||||
            "z": 0.0
 | 
			
		||||
          },
 | 
			
		||||
@ -1695,7 +1695,7 @@ description: Artifact commands shepherds-hook-bolt.kcl
 | 
			
		||||
        "segment": {
 | 
			
		||||
          "type": "line",
 | 
			
		||||
          "end": {
 | 
			
		||||
            "x": -1.836,
 | 
			
		||||
            "x": -1.8359550000000002,
 | 
			
		||||
            "y": 0.0,
 | 
			
		||||
            "z": 0.0
 | 
			
		||||
          },
 | 
			
		||||
@ -1729,8 +1729,8 @@ description: Artifact commands shepherds-hook-bolt.kcl
 | 
			
		||||
        "segment": {
 | 
			
		||||
          "type": "line",
 | 
			
		||||
          "end": {
 | 
			
		||||
            "x": 2.04,
 | 
			
		||||
            "y": -52.138,
 | 
			
		||||
            "x": 2.03995,
 | 
			
		||||
            "y": -52.13777608090537,
 | 
			
		||||
            "z": 0.0
 | 
			
		||||
          },
 | 
			
		||||
          "relative": false
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user