Skip to content

ZZ: need long long conv, maybe #28

@Artoria2e5

Description

@Artoria2e5

On Apple's macOS, both long and long long are 64 bits. The system chooses to define uint64_t as unsigned long long, which isn't covered by NTL's conv routines, leading to some pretty unpleasant errors as I detailed in vigna/CPRNG#1.

Because NTL covers unsigned long which is the same size on that particular system, I ended up getting away with supplying an explicit unsigned long type argument to the template. But that's hacky. Maybe something can be done to officially add long long to ZZ.h?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions