Challenge 2^24

Here is my code on c++ raylib:

#include "raylib.h"
#include "raymath.h"
#include <cmath>

int main()
{

    const int winWidth {1920};
    const int winHeight {1080};
    InitWindow(winWidth, winHeight, "..::Math Raylib::..");

    SetTargetFPS(60);

    const long int number = pow(2,24);
    TraceLog(LOG_INFO, TextFormat("power 2^24 => %i", number));


    CloseWindow();

    return 0;
}

Privacy & Terms