You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
3
3

4
4
5
-
Clockwork is a high performance, easy to use Modular Arithmetic (header-only) library for C++ for up to 128 bit integer types, with extensive support for Montgomery arithmetic. If you want or need Montgomery arithmetic in this range, or general modular arithmetic functions, Clockwork is almost certainly the fastest and easiest library you could use. For best performance make sure you define the standard C++ macro NDEBUG.
5
+
Clockwork is a high performance, easy to use Modular Arithmetic library for C++ provided as a "header-only" library, for up to 128 bit integer types, with extensive support for Montgomery arithmetic. If you want or need Montgomery arithmetic in this range, or general modular arithmetic functions, Clockwork is almost certainly the fastest and easiest library you could use. For best performance make sure you define the standard C++ macro NDEBUG.
6
6
7
7
## Design goals
8
8
@@ -45,7 +45,7 @@ If you're not using CMake for your project, you'll need to install/copy Clockwor
If you prefer, for the last command you could instead use CMake's default install location (on linux this is /usr/local) by omitting the --prefix and subsequent folder.
47
47
48
-
This will copy all the header files needed for this modular arithmetic library to an "include" subfolder in the installation folder of your choosing.
48
+
This will copy all the files needed for this modular arithmetic library to an "include" subfolder in the installation folder of your choosing.
49
49
When compiling your project, you'll of course need to ensure that you have that include subfolder as part of your include path.
50
50
51
51
For best performance you *must* ensure that the standard macro NDEBUG (see <cassert>) is defined when compiling. You can generally do this by adding the option flag -DNDEBUG to your compile command.
@@ -69,7 +69,7 @@ From the montgomery_arithmetic group, the file *MontgomeryForm.h* provides the e
69
69
70
70
For an easy demonstration of MontgomeryForm, you can see one of the [examples](examples/example_without_cmake).
71
71
72
-
If you prefer not to use the high level interface of MontgomeryForm, and instead wish to directly call low level Montgomery arithmetic functions (such as REDC), the API header files within montgomery_arithmetic/low_level_api support all essential low level functions.
72
+
If you prefer not to use the high level interface of MontgomeryForm, and instead wish to directly call low level Montgomery arithmetic functions (such as REDC), the API header files within montgomery_arithmetic/low_level_api provide the essential low level functions.
0 commit comments