Edge Rewrite
// HTMLRewriter · presentation

This page was redesigned at the edge.

Cloudflare fetched the original article and streamed it through HTMLRewriter to apply an entirely new visual system without rebuilding the source page.

Jump to content

Template:Calculator

Permanently protected template
From Wikipedia, the free encyclopedia
  1. Note that this can return negative values if the operands are negative. To ensure that modulo n returns a number between 0 and n that fits with the values above zero, you must wrap it. A good way to do this is add the modulus and then take it again -- for positive numbers this will not change them, but for negative numbers this brings them up into the positive range. For example: (a - b)%15(((a - b)%15)+15)%15