diff options
| author | Mattias Andrée <maandree@kth.se> | 2016-04-27 17:19:53 +0200 |
|---|---|---|
| committer | Mattias Andrée <maandree@kth.se> | 2016-04-27 17:19:53 +0200 |
| commit | e746f06265981fd17bc656ca59e0ed82f6cea84d (patch) | |
| tree | 9161d4428b889f7aa4375988c4fdc29e1ab02ee2 /src/zpowu.c | |
| parent | Minor word fix in STATUS (diff) | |
| download | libzahl-e746f06265981fd17bc656ca59e0ed82f6cea84d.tar.gz libzahl-e746f06265981fd17bc656ca59e0ed82f6cea84d.tar.bz2 libzahl-e746f06265981fd17bc656ca59e0ed82f6cea84d.tar.xz | |
Add option UNSAFE which disables all internal error checks
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'src/zpowu.c')
| -rw-r--r-- | src/zpowu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/zpowu.c b/src/zpowu.c index 3d58aa4..447147d 100644 --- a/src/zpowu.c +++ b/src/zpowu.c @@ -10,7 +10,7 @@ zpowu(z_t a, z_t b, unsigned long long int c) int neg; if (unlikely(!c)) { - if (zzero(b)) + if (check(zzero(b))) libzahl_failure(-ZERROR_0_POW_0); zsetu(a, 1); return; |
