Skip to content Skip to navigation Skip to collection information

OpenStax_CNX

You are here: Home » Content » Introduction to G Programming » Data Types

Navigation

Lenses

What is a lens?

Definition of a lens

Lenses

A lens is a custom view of the content in the repository. You can think of it as a fancy kind of list that will let you see content through the eyes of organizations and people you trust.

What is in a lens?

Lens makers point to materials (modules and collections), creating a guide that includes their own comments and descriptive tags about the content.

Who can create a lens?

Any individual member, a community, or a respected organization.

What are tags? tag icon

Tags are descriptors added by lens makers to help label content, attaching a vocabulary that is meaningful in the context of the lens.

This content is ...

Affiliated with (What does "Affiliated with" mean?)

This content is either by members of the organizations listed or about topics related to the organizations listed. Click each link to see a list of all content affiliated with the organization.
  • NSF Partnership display tagshide tags

    This collection is included inLens: NSF Partnership in Signal Processing
    By: Sidney Burrus

    Click the "NSF Partnership" link to see all content affiliated with them.

    Click the tag icon tag icon to display tags associated with this content.

  • Featured Content display tagshide tags

    This collection is included inLens: Connexions Featured Content
    By: Connexions

    Click the "Featured Content" link to see all content affiliated with them.

    Click the tag icon tag icon to display tags associated with this content.

Recently Viewed

This feature requires Javascript to be enabled.

Tags

(What is a tag?)

These tags come from the endorsement, affiliation, and other lenses that include this content.
 

Data Types

Module by: Eduardo Perez. E-mail the author

Summary: The creation of this content was supported in some part by NSF grant 0538934.

Table 1
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

Collection Navigation

Content actions

Download:

Collection as:

PDF | EPUB (?)

What is an EPUB file?

EPUB is an electronic book format that can be read on a variety of mobile devices.

Downloading to a reading device

For detailed instructions on how to download this content's EPUB to your specific device, click the "(?)" link.

| More downloads ...

Module as:

PDF | EPUB (?)

What is an EPUB file?

EPUB is an electronic book format that can be read on a variety of mobile devices.

Downloading to a reading device

For detailed instructions on how to download this content's EPUB to your specific device, click the "(?)" link.

| More downloads ...

Add:

Collection to:

My Favorites (?)

'My Favorites' is a special kind of lens which you can use to bookmark modules and collections. 'My Favorites' can only be seen by you, and collections saved in 'My Favorites' can remember the last module you were on. You need an account to use 'My Favorites'.

| A lens I own (?)

Definition of a lens

Lenses

A lens is a custom view of the content in the repository. You can think of it as a fancy kind of list that will let you see content through the eyes of organizations and people you trust.

What is in a lens?

Lens makers point to materials (modules and collections), creating a guide that includes their own comments and descriptive tags about the content.

Who can create a lens?

Any individual member, a community, or a respected organization.

What are tags? tag icon

Tags are descriptors added by lens makers to help label content, attaching a vocabulary that is meaningful in the context of the lens.

| External bookmarks

Module to:

My Favorites (?)

'My Favorites' is a special kind of lens which you can use to bookmark modules and collections. 'My Favorites' can only be seen by you, and collections saved in 'My Favorites' can remember the last module you were on. You need an account to use 'My Favorites'.

| A lens I own (?)

Definition of a lens

Lenses

A lens is a custom view of the content in the repository. You can think of it as a fancy kind of list that will let you see content through the eyes of organizations and people you trust.

What is in a lens?

Lens makers point to materials (modules and collections), creating a guide that includes their own comments and descriptive tags about the content.

Who can create a lens?

Any individual member, a community, or a respected organization.

What are tags? tag icon

Tags are descriptors added by lens makers to help label content, attaching a vocabulary that is meaningful in the context of the lens.

| External bookmarks