Fix compile error for IBM VMX on ppc64
[gromacs/AngularHB.git] / src / external / tng_io / include / compression / widemuldiv.h
blobdfa905be4ec763dc51a7a493ef3c3c08cda64dd0
1 /* This code is part of the tng compression routines.
3 * Written by Daniel Spangberg
4 * Copyright (c) 2010, 2013, The GROMACS development team.
7 * This program is free software; you can redistribute it and/or
8 * modify it under the terms of the Revised BSD License.
9 */
12 #ifndef WIDEMULDIV_H
13 #define WIDEMULDIV_H
15 /* Add a unsigned int to a largeint. */
16 void Ptngc_largeint_add(const unsigned int v1, unsigned int *largeint, const int n);
18 /* Multiply v1 with largeint_in and return result in largeint_out */
19 void Ptngc_largeint_mul(const unsigned int v1, unsigned int *largeint_in, unsigned int *largeint_out, const int n);
21 /* Return the remainder from dividing largeint_in with v1. Result of the division is returned in largeint_out */
22 unsigned int Ptngc_largeint_div(const unsigned int v1, unsigned int *largeint_in, unsigned int *largeint_out, const int n);
24 #endif