aboutsummaryrefslogtreecommitdiff
path: root/puzzles.h
diff options
context:
space:
mode:
authorSimon Tatham <anakin@pobox.com>2023-07-02 21:22:02 +0100
committerSimon Tatham <anakin@pobox.com>2023-07-07 18:17:02 +0100
commit6b5142a7a9b31922d9c7ef505b27c33d551f5016 (patch)
tree5ecdad8079c8ffbb917490767eed48f9c976b35e /puzzles.h
parentad7042db989eb525defea9298b2b14d564498473 (diff)
downloadpuzzles-6b5142a7a9b31922d9c7ef505b27c33d551f5016.zip
puzzles-6b5142a7a9b31922d9c7ef505b27c33d551f5016.tar.gz
puzzles-6b5142a7a9b31922d9c7ef505b27c33d551f5016.tar.bz2
puzzles-6b5142a7a9b31922d9c7ef505b27c33d551f5016.tar.xz
Move mul_root3 out into misc.c and generalise it.
I'm going to want to reuse it for sqrt(5) as well as sqrt(3) soon.
Diffstat (limited to 'puzzles.h')
-rw-r--r--puzzles.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/puzzles.h b/puzzles.h
index f057c21..b4d33de 100644
--- a/puzzles.h
+++ b/puzzles.h
@@ -391,6 +391,7 @@ void obfuscate_bitmap(unsigned char *bmp, int bits, bool decode);
char *fgetline(FILE *fp);
char *make_prefs_path(const char *dir, const char *sep,
const game *game, const char *suffix);
+int n_times_root_k(int n, int k);
/* allocates output each time. len is always in bytes of binary data.
* May assert (or just go wrong) if lengths are unchecked. */