Closed s-hadinger closed 3 weeks ago
Berry: when a C function expects an int argument, if a real argument is provided, it is automatically converted to int and rounded.
int
real
This is a more generalist solution to #21598
NOTE: The code change must pass CI tests. Your PR cannot be merged unless tests pass
Description:
Berry: when a C function expects an
int
argument, if areal
argument is provided, it is automatically converted toint
and rounded.This is a more generalist solution to #21598
Checklist:
NOTE: The code change must pass CI tests. Your PR cannot be merged unless tests pass