aboutsummaryrefslogtreecommitdiff
path: root/src/pnf.h
blob: ccac3f45f3797d6631fe7b4651d5da1f2e0201ae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#ifndef PNF_H
#define PNF_H

#include <stdbool.h>
#include "utils.h"

u64
pdnf_compute (u16 f);

void
pdnf_print (u64 pdnf, u8 numones);

u64
pcnf_compute (u16 f);

void
pcnf_print (u64 pcnf, u8 numzeros);

bool
pdnf_eval (u64 pdnf, u8 numones, u8 xyzw);

#endif