aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/lexers/vxml.tes
diff options
context:
space:
mode:
authorRobin Haberkorn <robin.haberkorn@googlemail.com>2024-02-06 16:45:04 +0300
committerRobin Haberkorn <robin.haberkorn@googlemail.com>2024-02-06 16:45:04 +0300
commit21c5be3706f70d573f8d0195760846fce46f6807 (patch)
tree9240d238d5b183bdaf57ecad69c10595736690e0 /lib/lexers/vxml.tes
parent37eef3cf0ab0b0ed3dabc1c96515f4e30011f9db (diff)
downloadsciteco-21c5be3706f70d573f8d0195760846fce46f6807.tar.gz
fixed the power (^*) operator: did not handle corner cases and was inefficient
* in fact, with a negative exponent the previous naive implementation would even hang indefinitely! * Now uses the squaring algorithm. This is slightly longer but significantly more efficient. * added test cases
Diffstat (limited to 'lib/lexers/vxml.tes')
0 files changed, 0 insertions, 0 deletions