I am writing code for use in the unity jobs system with the burst compiler so ideally Unity.Mathematics.math would be used to set the float to infinity instead of Mathf.Infinity. I haven’t been able to find a way to set a float to infinity in the mathematics library, however and tried setting it to INFINITY and 1/0 but those did not work.
Is using Mathf.Infinity valid in jobs with the burst compiler or is there another way to set a value to infinity that I am just looking over?