how do you set a float to infinity without using Mathf.Infinity for use in Jobs?

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?

It’s Unity.Mathematics.math.INFINITY. But, you may be surprised to discover in it’s source code that this is merely a copy of System.Single.PositiveInfinity.