diff options
| author | Simon Tatham <anakin@pobox.com> | 2023-07-02 21:22:02 +0100 |
|---|---|---|
| committer | Simon Tatham <anakin@pobox.com> | 2023-07-07 18:17:02 +0100 |
| commit | 6b5142a7a9b31922d9c7ef505b27c33d551f5016 (patch) | |
| tree | 5ecdad8079c8ffbb917490767eed48f9c976b35e /puzzles.h | |
| parent | ad7042db989eb525defea9298b2b14d564498473 (diff) | |
| download | puzzles-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.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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. */ |