P0070 Math Panics

Math

math.factorial() requires a non-negative integer, got %lld

When this occurs

This error is triggered when: math.factorial() requires a non-negative integer, got %lld

Example error message

error[P0070]: math.factorial() requires a non-negative integer, got %lld

How to fix

Review the error message and check your code at the indicated location. The message describes what went wrong — fix the underlying issue it identifies.

Related errors

No related errors.