Skip to main content

  | मौसम…

411 समाचार
Public archive edition · Attributed source reporting with original dates · AI drafts are excluded

411 REFERENCE · Wikibooks

Ada Programming/Libraries/Ada.Decimal

Reference material by Wikibooks contributors. This retains its source identity and is not 411 news reporting.

Ada.Decimal __TOC__ Ada Decimal is a unit of the Predefined Language Environment since Ada 95. Specification Standard Ada library specification Copyright (c) 2003-2018 Maxim Reznik <reznikmm@gmail.com> Copyright (c) 2004-2016 AXE Consultants Copyright (c) 2004, 2005, 2006 Ada-Europe Copyright (c) 2000 The MITRE Corporation, Inc. Copyright (c) 1992, 1993, 1994, 1995 Intermetrics, Inc. SPDX-License-Identifier: BSD-3-Clause and LicenseRef-AdaReferenceManual ------------------------------------------------------------------------- package Ada Decimal is pragma Pure (Decimal); Max_Scale : constant := implementation_defined; Min_Scale : constant := implementation_defined; Min_Delta : constant := 10dot .0**(-Max_Scale); Max_Delta : constant := 10dot .0**(-Min_Scale); Max_Decimal_Digits : constant := implementation_defined; generic type Dividend_Type is delta box <> digits box <>; type Divisor_Type is delta box <> digits box <>; type Quotient_Type is delta box <> digits box <>; type Remainder_Type is delta box <> digits box <>; procedure Divide (Dividend : in Dividend_Type; Divisor : in Divisor_Type; Quotient : out Quotient_Type; Remainder : out Remainder_Type); pragma Convention (Intrinsic, Divide); end Adadot .Decimal; See also Wikibook Ada Programming/Libraries/Ada Ada Reference Manual Ada 95 F 2 The Package Decimal Ada 2005 F 2 The Package Decimal Ada 2012 F 2 The Package Decimal Open-Source Implementations a-decima.ads a-decima.adb a-decima.ads