Created
June 15, 2018 08:47
-
-
Save todorok1/8655ad8a46628fba78dec78bb72369d0 to your computer and use it in GitHub Desktop.
無限大について全力で考えてみる
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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