Difference between revisions of "Subroutine package"

From Computer History Wiki
Jump to: navigation, search
(A start)
 
m (avoid redirs)
 
(2 intermediate revisions by the same user not shown)
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]], which does not include [[input/output]] as part of the language, the [[standard I/O library]] is a [[portable]] library which provides a standard way to perform I/O on many systems which C runs on.
 +
 
 +
[[Category: Software Basics]]

Latest revision as of 23:58, 31 December 2022

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 input/output as part of the language, the standard I/O library is a portable library which provides a standard way to perform I/O on many systems which C runs on.