[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference rusure::math

Title:Mathematics at DEC
Moderator:RUSURE::EDP
Created:Mon Feb 03 1986
Last Modified:Fri Jun 06 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:2083
Total number of notes:14613

1545.0. "What is ENTIER?" by TLE::REAGAN (Purgamentum init, exit purgamentum) Tue Jan 21 1992 09:55

    I was reading the release notes for a product and saw a reference to
    a mathematical function I've never seen before.  It wasn't listed
    in a dictionary...  It is called ENTIER.
    
    Can someone please tell me what this is?  (The manual which used
    it didn't bother to define it for me...)
    
    				-John
T.RTitleUserPersonal
Name
DateLines
1545.1Integer partCIVAGE::LYNNLynn Yarbrough @WNP DTN 427-5663Tue Jan 21 1992 10:124
'Entier' is French for, I think, integer, and the entier function is best 
defined in the ALGOL language documentation. It's related to 'floor' and 
'ceiling' functions, but I can never remember how. I think it's the same 
as the FORTRAN INT generic function[s].
1545.2FORTY2::PALKATue Jan 21 1992 11:448
    I believe 'entier' means 'whole'. The entier function truncates towards
    0.
    
    E.g.
    	entier(1.8) = 1
    	entier(-2.8) = -2
    
    Andrew