Main Conformance: Re-adjust TANH compliance check
Add lower bound to ABS ERROR checks to allow for cancellation of
small values in error bounds checking.
Re-adjust the error bounds multiplier to match the specification.
Fix up naming of verify library info structs.
Signed-off-by: Jeremy Johnson <jeremy.johnson@arm.com>
Change-Id: I3e178c3d7d59fef9c3696178646b23ed2a3ffc61
diff --git a/scripts/schemavalidation/compliance-config.schema.json b/scripts/schemavalidation/compliance-config.schema.json
index e78d385..dd62404 100644
--- a/scripts/schemavalidation/compliance-config.schema.json
+++ b/scripts/schemavalidation/compliance-config.schema.json
@@ -1,5 +1,5 @@
{
- "$comment": "Copyright (c) 2023, ARM Limited.",
+ "$comment": "Copyright (c) 2023-2024, ARM Limited.",
"$comment": "SPDX-License-Identifier: Apache-2.0",
"$id": "compliance-config.schema.json",
"$schema": "https://json-schema.org/draft/2020-12/schema",
@@ -61,6 +61,18 @@
"s",
"ks"
]
+ },
+ "abs_error_info": {
+ "description": "info required for the ABS_ERROR mode",
+ "type": "object",
+ "properties":
+ {
+ "lower_bound": {
+ "description": "lower bound multiplier for error bounds",
+ "type": "number"
+ }
+ },
+ "additionalProperties": false
}
},
"additionalProperties": false,