I'm wondering what the ¬ operator was doing in BASIC. Line 25.
At first, I was thinking it might be power, so that A and B should be the same but calculated differently, but the final output shows that B is a bit less than double that of A. Or maybe it's just losing more precision because of log conversions, but I'm surprised that would error towards a bigger number. FWIW, I don't think either answer is correct, so I think the program is just demonstrating different rounding errors due to loss of precision.
ralferoo|1 year ago
At first, I was thinking it might be power, so that A and B should be the same but calculated differently, but the final output shows that B is a bit less than double that of A. Or maybe it's just losing more precision because of log conversions, but I'm surprised that would error towards a bigger number. FWIW, I don't think either answer is correct, so I think the program is just demonstrating different rounding errors due to loss of precision.
myth_drannon|1 year ago
01HNNWZ0MV43FF|1 year ago
ralferoo|1 year ago