Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
無限大について全力で考えてみる
void Start(){
CheckOverFlow();
}
void CheckOverFlow(){
// 最大値を超えた時の動作を確認
float overMax = float.MaxValue + 1.0f;
Debug.Log("overMax : " + overMax);
// 最小値を下回った時の動作を確認
float underMin = float.MinValue - 1.0f;
Debug.Log("underMin : " + underMin);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.