Integers and 􀁾oating-point numbers

The architecture independent types have a fixed size (in bits) indicated by
their names. For integers:

int8 (-128 to 127)
int16 (-32768 to 32767)
int32 (− 2,147,483,648 to 2,147,483,647)
int64 (− 9,223,372,036,854,775,808 to 9,223,372,036,854,775,807)


For unsigned integers:
uint8 (with the alias byte, 0 to 255)
uint16 (0 to 65,535)
uint32 (0 to 4,294,967,295)
uint64 (0 to 18,446,744,073,709,551,615)

For floats:
float32 (± 1O to ± 3.4 ∗ 1O )
float64 (± 5 ∗ 1O to 1.7 ∗ 1O )


Posted

in

by

Tags:

Comments

One response to “Integers and 􀁾oating-point numbers”

  1. A WordPress Commenter Avatar

    Hi, this is a comment.
    To get started with moderating, editing, and deleting comments, please visit the Comments screen in the dashboard.
    Commenter avatars come from Gravatar.

Leave a Reply

Your email address will not be published. Required fields are marked *