Clicky

Fortran Wiki
radix (Rev #4, changes)

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

Showing changes from revision #3 to #4: (追記) 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)

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

(追記ここまで)
(追記) (追記ここまで)

category: intrinsics

Revision from March 13, 2010 00:09:13 by Jason Blevins
Forward in time (to current) | Back in time (3 more) | See current | Hide changes | History | Rollback | View: Source | Linked from: Intrinsic procedures, scale, selected_real_kind, Intrinsic types

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