-
3. Failure and resource safety PPL-LLR-000133 When a supported recoverable failure is reported through a documented error channel, the library shall release temporary resources it owns and leave surviving objects and outputs in the states permitted by the operation's documented failure guarantee. Failure during construction shall release resources acquired for the object whose construction failed. These obligations shall apply whether failure is reported by an exception, error status or host-language error mechanism.
-
8. Controlled runtime operation and resource use PPL-HLR-000008 PPL shall define its initialization, cleanup, runtime configuration and failure behavior, and shall provide the supported mechanisms for controlling long-running computations, so that clients can use the library without violating its documented object and resource-lifetime rules.
-
-
2. C object ownership and borrowed access PPL-LLR-000202 The C interface shall distinguish caller-owned objects from borrowed access to an existing object's contents. Creating an owned object shall establish a separate lifetime, whereas obtaining a borrowed handle shall not transfer ownership or extend the owner's lifetime.
-
7. Access through supported language interfaces PPL-HLR-000007 PPL shall expose its numerical facilities through its C++ interface and expose selected facilities through the supported C, Java, OCaml and Prolog interfaces. Each interface shall preserve the declared semantics of the facilities it exposes.
-
-
3. C boundary error reporting PPL-LLR-000203 The C interface shall report every failure designated by its supported failure model through the corresponding negative error status and invoke the installed error handler with the error category and a textual description. Native C++ exceptions raised by supported operations shall be contained at the C language boundary rather than escaping to the caller.
-
7. Access through supported language interfaces PPL-HLR-000007 PPL shall expose its numerical facilities through its C++ interface and expose selected facilities through the supported C, Java, OCaml and Prolog interfaces. Each interface shall preserve the declared semantics of the facilities it exposes.
-
-
Incoming links from: 1. Configured binding domain selection 1. OCaml numerical term conversion2
2. Mathematical consistency of corresponding binding operations PPL-LLR-000214 For every supported facility exposed by a configured non-C++ language interface, conversion of inputs and operation parameters and production of returned results shall preserve the corresponding native facility's declared mathematical semantics, including its exactness, approximation and inconclusiveness guarantees.
-
7. Access through supported language interfaces PPL-HLR-000007 PPL shall expose its numerical facilities through its C++ interface and expose selected facilities through the supported C, Java, OCaml and Prolog interfaces. Each interface shall preserve the declared semantics of the facilities it exposes.
-
-
Incoming links from: 4. Binding interruption support and state changes 1. Explicit C library lifecycle 2. Java library lifecycle 1. Initialization and finalization lifecycle 2. Floating-point rounding-state exchange 4. Cooperative computation abandonment 4. Cooperative computation abandonment 2. Java library initialization and finalization8
6. Thread entry and shared-facility use PPL-LLR-000438 For each supported thread configuration and language interface, the runtime shall provide the required library and thread initialization and finalization protocol. Correctly initialized threads shall use the thread-specific numerical state required by that configuration. Permitted concurrent use, object-sharing conditions and caller synchronization requirements for shared facilities shall be explicit, including restrictions on computational-weight monitoring and watchdog signal ownership.
-
8. Controlled runtime operation and resource use PPL-HLR-000008 PPL shall define its initialization, cleanup, runtime configuration and failure behavior, and shall provide the supported mechanisms for controlling long-running computations, so that clients can use the library without violating its documented object and resource-lifetime rules.
-
C clients shall use the installed <ppl_c.h> declarations with compatible native and GMP libraries. Input handles shall denote live objects of the declared type. Mutable handles shall denote writable objects; a borrowed const handle shall not be modified or deleted. Output addresses shall be non-null and writable. Arrays shall contain their declared number of elements; a zero count shall require no element access. Iterators shall have valid positions in the same live container. Caller synchronization, thread entry and floating-point prerequisites shall follow the native operations.
A nonnegative function result shall have the meaning assigned by its operation: zero status, boolean result, enumeration or flags. Negative results shall denote failures. Successful mathematical results shall preserve the corresponding native operation's exactness, approximation direction, inconclusive outcomes and admitted witnesses. Failed operations shall not imply a completed mathematical result or unspecified rollback. Unless explicitly guaranteed, output parameters shall be used only after success.