kmul.h

来自「K-type large number generation based on 」· C头文件 代码 · 共 62 行

H
62
字号

/* Include kmul.h only once */
#ifndef __KMULH__
#define __KMULH__

#ifdef  __cplusplus
extern "C" {
#endif


/***********************************************************/
/* Function-Prototypes                                     */
/***********************************************************/

#ifndef __FLINT_API
#ifdef FLINT_USEDLL
#define __FLINT_API                   __cdecl
#else
#define __FLINT_API                   /**/
#endif /* FLINT_USEDLL */
#endif /* !defined __FLINT_API */

#if !defined __FLINT_API_A
#if defined __GNUC__ && !defined __cdecl
#define __FLINT_API_A                 /**/
#else
#define __FLINT_API_A                 __cdecl
#endif /* !defined __GNUC__ */
#endif /* !defined __FLINT_API_A */


/* If the FLINT/C-Package is used under MS Visual C/C++ as DLL,               */
/* all modules accessing data nul_l, one_l, two_l or smallprimes from outside */
/* he DLL must be compiled with -D__FLINT_API_DATA=__declspec(dllimport)      */

#ifndef __FLINT_API_DATA
#if (defined _MSC_VER && _MSC_VER >= 11) && defined FLINT_USEDLL
#define __FLINT_API_DATA              __declspec(dllimport)
#else
#define __FLINT_API_DATA              /**/
#endif /* MSC_VER && FLINT_USEDLL */
#endif /* !defined __FLINT_API_DATA */


extern int __FLINT_API ksqr_l (clint *, clint *);
extern int __FLINT_API kmul_l (clint *, clint *, clint *);


#ifdef  __cplusplus
}
#endif

#endif /* defined __KMULH__ */








⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?