lua-l archive
[
Date Prev
][
Date Next
][
Thread Prev
][
Thread Next
] [
Date Index
] [
Thread Index
]
Subject
:
No error for divide by zero
From
: aman agrawal <aman.161089@
...
>
Date
: Wed, 14 Jun 2023 19:11:03 +0530
Hi,
Can anyone please tell me why we don't return an error for (5/0)? For (5//0), we return an error. I checked that we don't have any check for divisor value, but in luaV_idiv(), we check the divisor value.
--
Best Regards
Aman Agrawal
Follow-Ups
:
Re: No error for divide by zero
,
Lars Müller
Prev by Date:
Re: Buffer over-read in l_strcmp
Next by Date:
Re: No error for divide by zero
Previous by thread:
Re: Buffer over-read in l_strcmp
Next by thread:
Re: No error for divide by zero
Index(es):
Date
Thread