diff options
| author | Amlal El Mahrouss <amlal@nekernel.org> | 2025-08-30 21:47:55 +0200 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal@nekernel.org> | 2025-08-30 21:48:19 +0200 |
| commit | 9a45caab02bb1fa426dda0b1ed584a8cbb27d27d (patch) | |
| tree | f8c31205fda749346f1f3301759d2a9e795de5a0 /dev/LibC++/base_math.h | |
| parent | bca7a28c57adbb585de1e7b6ef0b1990d0837c4f (diff) | |
feat: debugger_kit: debugger contract modifications for NeKernel.
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to 'dev/LibC++/base_math.h')
| -rw-r--r-- | dev/LibC++/base_math.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dev/LibC++/base_math.h b/dev/LibC++/base_math.h index cf4313f..7c9f34d 100644 --- a/dev/LibC++/base_math.h +++ b/dev/LibC++/base_math.h @@ -57,7 +57,7 @@ template <size_t Base> inline real_type surd(real_type in) { if (in == 0) return 0; if (in == 1) return 1; - + if (Base == 1) return in; if (Base == 2) return sqrt(in); |
