![]() Chapter Contents |
![]() Previous |
![]() Next |
| FLOATw.d |
| Category: | Numeric |
| Syntax | |
| Syntax Description | |
| Details | |
| Comparisons | |
| Examples |
Syntax |
| FLOATw.d |
| Requirement: | w must be 4. |
| Details |
| Comparisons |
The following table compares the names of float notation in several programming languages:
| Language | Float Notation |
|---|---|
| SAS | FLOAT4. |
| FORTRAN | REAL*4 |
| C | float |
| IBM 370 ASM | E |
| PL/I | FLOAT BIN(21) |
| Examples |
input x float4.;
| Data Lines* | Results |
|---|---|
----+----1----+----2 |
|
3F800000 |
1 |
| *The data line is a hexadecimal representation of a binary number that is stored in IEEE form. | |
![]() Chapter Contents |
![]() Previous |
![]() Next |
![]() Top of Page |
Copyright © 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.