### Long Versus Short Numbers

Long and Short are very
confusing terms when used to describe the number of bits in
a numeric value.
*Long* and *short* have
different meanings in each HP programming language.
Some languages refer to
**double** as well as *long* and *short*.
Text version.

| 16-bit int | 32-bit int | 64-bit int |

C | short | long |

Pascal | shortint | integer | longint |

SPL | Integer | Double | |

Fortran | Integer*2 | Integer*4 | |

| 32-bit real | 64-bit real | 128-bit real |

C | float | double | long double |

Pascal | real | longreal | |

SPL | Real | Long | |

Fortran | Real | Double Precision | Real*16 |

**Note:** In FORTRAN, the $Short compiler command
makes Integer*2 the default,
$Long selects Integer*4.