2 to the Power of 24 - Unity 2020.1.161f

Using C# Script in Unity 2020.1.161f,
2 to the power of 24 yields the following:

1.677722E+07
UnityEngine.Debug:Log(Object)
Math_Power:Start() (at Assets/Math_Power.cs:10)

Using the code:

using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class Math_Power : MonoBehaviour
{
    // Start is called before the first frame update
    void Start()
    {
        Debug.Log(Mathf.Pow(2, 24));
    }

    // Update is called once per frame
    void Update()
    {
    }
}
2 Likes

Awesome job! :fire:

Privacy & Terms