From bae1bea3c4b46a2fb5ca76ff6bf1e98d43cff52f Mon Sep 17 00:00:00 2001 From: Tim Ruffing Date: Fri, 1 Nov 2019 10:39:41 +0100 Subject: [PATCH] Make no-float policy explicit We don't want floating types for various reasons, e.g., - Their representation and often their behavior is implementation-defined. - Many targets don't support them. --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index b4ff14c9f6fd6..84c0487902d0d 100644 --- a/README.md +++ b/README.md @@ -23,6 +23,7 @@ Implementation details * Extensive testing infrastructure. * Structured to facilitate review and analysis. * Intended to be portable to any system with a C89 compiler and uint64_t support. + * No use of floating types, except in benchmarks. * Expose only higher level interfaces to minimize the API surface and improve application security. ("Be difficult to use insecurely.") * Field operations * Optimized implementation of arithmetic modulo the curve's field size (2^256 - 0x1000003D1).