Difference between revisions of "Subroutine package"

From Computer History Wiki
Jump to: navigation, search
(A start)
 
m (copyedit)
Line 1: Line 1:
A '''subroutine package''' (commonly called a '''library''') is a group of [[subroutine]]s which support some particular functionality.
+
A '''subroutine package''' (often called a 'library') is a group of [[subroutine]]s which support some particular functionality.
  
On early machines which did not support [[floating point]], it was common to have a floating point library. For commercial applications, which often use [[binary-coded decimal]] for arbitrary-[[precision]] numbers, a library implementing them was often provided on machines which lacked hardware support for BCD.
+
For example, on early machines which did not support [[floating point]] in [[hardware]], it was common to have a floating point library. For commercial applications, which often use [[binary-coded decimal]] for arbitrary-[[precision]] numbers, a library implementing them was often provided on machines which lacked hardware support for BCD.
  
In the [[C (programming language)|C]] [[programming language]], which does not include I/O as part of the language, the [[Standard I/O Library]] is a [[portable]] way to peform I/O.
+
In the [[C (programming language)|C]] [[programming language]], which does not include I/O as part of the language, the [[Standard I/O Library]] is a [[portable]] library which provides a standard way to peform I/O on many systems which C runs on.

Revision as of 00:28, 2 April 2018

A subroutine package (often called a 'library') is a group of subroutines which support some particular functionality.

For example, on early machines which did not support floating point in hardware, it was common to have a floating point library. For commercial applications, which often use binary-coded decimal for arbitrary-precision numbers, a library implementing them was often provided on machines which lacked hardware support for BCD.

In the C programming language, which does not include I/O as part of the language, the Standard I/O Library is a portable library which provides a standard way to peform I/O on many systems which C runs on.