c99 sushi

A selection of C99 sushi; each with a manual, a test-suite and under a liberal licence.

  • fastglc the iteration-free Gauss-Legendre quadrature method of I. Bogaert (github)
  • chorner compensated Horner evaluation of polynomials (github)
  • brent a port of Scipy's Brent minimisation to C99 (github)
  • gstack a simple stack (github)
  • fifo a first-in, first-out queue (github)
  • pia calculate the area of intersection of polygons — a port of Norman Hardy's planimiter algorithm (github)
  • cathetus the side of a right triangle given the hypotenuse and the other side (github)
hello kitty sushi
Hello Kitty sushi by Precious Valdez, from Tina Ong's phenomenal mama blog