https://en.m.wikipedia.org/wiki/IEEE_754
To answer your question directly - yes, it’s fine, it’s actually expected behavior.