Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.

0_EB ???

Nick2
New Contributor I
843 Views

My co-worker recently ran accross some code that has numeric values of 0_EB (where 0 is any number). Granted I know 3_2 means 2-byte integer with a value of 3, but what is 3_EB?

0 Kudos
1 Solution
TimP
Honored Contributor III
843 Views

My co-worker recently ran accross some code that has numeric values of 0_EB (where 0 is any number). Granted I know 3_2 means 2-byte integer with a value of 3, but what is 3_EB?

Check where EB is set as a parameter.

View solution in original post

0 Kudos
2 Replies
TimP
Honored Contributor III
844 Views

My co-worker recently ran accross some code that has numeric values of 0_EB (where 0 is any number). Granted I know 3_2 means 2-byte integer with a value of 3, but what is 3_EB?

Check where EB is set as a parameter.

0 Kudos
Steven_L_Intel1
Employee
843 Views

Many people find this syntax astonishing. What it means is 0 with a kind type of EB, assuming, as Tim hints, that EB is defined as a named (PARAMETER) constant. if EB is 4, then 0_EB means 0_4.

0 Kudos
Reply