Clicky

Fortran Wiki
radix (changes)

Skip the Navigation Links | Home Page | All Pages | Recently Revised | Authors | Feeds | Export |

Showing changes from revision #4 to #5: (追記) Added (追記ここまで) | (削除) Removed (削除ここまで) | (削除) Chan (削除ここまで)(追記) ged (追記ここまで)

Description

radix(x) returns the base of the model representing the entity x.

Standard

Fortran 95 and later

Class

Inquiry function

Syntax

(削除)

result = radix(x)

(削除ここまで)
(追記)
result = radix(x)
(追記ここまで)

Arguments

  • x - Shall be of type integer or real

Return value

The return value is a scalar of type integer and of the default integer kind.

Example

program test_radix
 print *, "The radix for the default integer kind is", radix(0)
 print *, "The radix for the default real kind is", radix(0.0)
end program test_radix

See also

scale (追記) , (追記ここまで)(追記) selected_real_kind (追記ここまで)

category: intrinsics

Revised on April 4, 2016 15:10:42 by Jason Blevins (128.146.137.52) (657 characters / 0.0 pages)
Edit | Back in time (4 revisions) | Hide changes | History | Views: Print | TeX | Source | Linked from: Intrinsic procedures, scale, selected_real_kind, Intrinsic types

AltStyle によって変換されたページ (->オリジナル) /