1 /* 2 * spigot.h - calculate pi and e by spigot algorithm 3 * 4 * Written by Shiro Kawai (shiro@acm.org) 5 * I put this program in public domain. Use it as you like. 6 * 7 * $Id: spigot.h,v 1.2 2003/06/12 11:09:23 shirok Exp $ 8 */ 9 10 extern ScmObj Spigot_calculate_pi(int digits); 11 extern ScmObj Spigot_calculate_e(int digits); 12 extern void Scm_Init_spigotlib(ScmModule *module); 13