<< Chapter < Page Chapter >> Page >
The creation of this content was supported in some part by NSF grant 0538934.
Data Type
Block Diagram Terminal Interactive User Interface
Input Output Input Output
Comments Extended An orange square attached to another orange square on the right via an orange line. The bottom of the square contains the letters 'ext'. A field with up and down arrow buttons on the left. The field contains the number 1.2345 The field contains the number 1.2345 80-bit floating pointnumeric Double An orange square attached to another orange square on the right via an orange line. The bottom of the square contains the letters 'DBL'. A field with up and down arrow buttons on the left. The field contains the number 1.2345 The field contains the number 1.2345 64-bit floating pointnumeric Single An orange square attached to another orange square on the right via an orange line. The bottom of the square contains the letters 'SGL'. A field with up and down arrow buttons on the left. The field contains the number 1.2345 The field contains the number 1.2345 32-bit floating pointnumeric ComplexExtended An orange square attached to another orange square on the right via an orange line. The bottom of the square contains the letters 'CXT'. A field with up and down arrow buttons on the left. The field contains the number '1.2+3.4i'. The field contains the number '1.2+3.4i'. 160-bit floating pointnumeric ComplexDouble An orange square attached to another orange square on the right via an orange line. The bottom of the square contains the letters 'CDB'.  A field with up and down arrow buttons on the left. The field contains the number '1.2+3.4i'. The field contains the number '1.2+3.4i'. 128-bit floating pointnumeric ComplexSingle An orange square attached to another orange square on the right via an orange line. The bottom of the square contains the letters 'CSG'. A field with up and down arrow buttons on the left. The field contains the number '1.2+3.4i'. The field contains the number '1.2+3.4i'. 64-bit floating pointnumeric Integer 64 An blue square attached to another blue square on the right via a blue line. The bottom of the square contains the letters 'I64'. A field with up and down arrow buttons on the left. The field contains the number '-12345'. The field contains the number '-12345'. 64-bit signed integernumeric Integer 32 An blue square attached to another blue square on the right via an blue line. The bottom of the square contains the letters 'I32'. A field with up and down arrow buttons on the left. The field contains the number '-12345'. The field contains the number '-12345'. 32-bit signed integernumeric Integer 16 An blue square attached to another blue square on the right via an blue line. The bottom of the square contains the letters 'I16'. A field with up and down arrow buttons on the left. The field contains the number '-12345'. A field with up and down arrow buttons on the left. The field contains the number '-12345'. 16-bit signed integernumeric Integer 8 A blue square attached to another blue square on the right via an blue line. The bottom of the square contains the letters 'I8'. A field with up and down arrow buttons on the left. The field contains the number '-123'. The field contains the number '-123'. 8-bit signed integernumeric UnsignedInteger 64 A blue square attached to another blue square on the right via an blue line. The bottom of the square contains the letters 'U64'. A field with up and down arrow buttons on the left. The field contains the number '12345'. The field contains the number '12345'. 64-bt unsigned integer numeric UnsignedInteger 32 An blue square attached to another blue square on the right via an blue line. The bottom of the square contains the letters 'U32' A field with up and down arrow buttons on the left. The field contains the number '12345'. The field contains the number '12345'. 32-bit unsigned integer numeric UnsignedInteger 16 An blue square attached to another blue square on the right via an blue line. The bottom of the square contains the letters 'U16' A field with up and down arrow buttons on the left. The field contains the number '12345'. The field contains the number '12345'. 16-bit unsigned integer numeric UnsignedInteger 8 An blue square attached to another blue square on the right via an blue line. The bottom of the square contains the letters 'U8' A field with up and down arrow buttons on the left. The field contains the number '12345'. The field contains the number '12345'. 8-bit unsigned integer numeric Fixed Point An blue square attached to another blue square on the right via an blue line. The bottom of the square contains the letters 'FXP'. A field with up and down arrow buttons on the left. The field contains the number '1.2345'. The field contains the number '1.2345'. Mantissa.fractional fixed point numeric representation Boolean A green square with a horizontal oval attached to another green square which contains a green circle, on the right via an green line. The bottom of the square contains the letters 'TF'. An ovular button with a green triangle on the righ half of the oval. A Green circle on a gray field. True or False. String A pink square connected to another Pink square on the right via a pink squiggly line. The bottom of the square contains the letters 'abc'. A field containing the word 'String'. A field containing the word 'String'. Text

Get Jobilize Job Search Mobile App in your pocket Now!

Get it on Google Play Download on the App Store Now




Source:  OpenStax, Introduction to g programming. OpenStax CNX. Mar 15, 2010 Download for free at http://cnx.org/content/col11192/1.1
Google Play and the Google Play logo are trademarks of Google Inc.

Notification Switch

Would you like to follow the 'Introduction to g programming' conversation and receive update notifications?

Ask