Next: Strings and Characters, Previous: Lisp Data Types, Up: Top [Contents][Index]
GNU Emacs¤Ç¤Ï2¼ïÎà¤Î¿ôÃͥǡ¼¥¿¤ò°·¤¨¤Þ¤¹¡£ À°¿ô¡Êintegers¡Ë¤ÈÉâÆ°¾®¿ôÅÀ¿ô¡Êfloating point numbers¡Ë¤Ç¤¹¡£ À°¿ô¤Ï¡¢-3¡¢0¡¢7¡¢13¡¢511¤Î¤è¤¦¤Ê¤Á¤ç¤¦¤É¤Î¿ô¤Ç¤¹¡£ ¤³¤ì¤é¤ÎÃͤÏÀµ³Î¤Ç¤¹¡£ ÉâÆ°¾®¿ôÅÀ¿ô¤Ï¡¢-4.5¡¢0.0¡¢2.71828¤Î¤è¤¦¤Ë¾®¿ôÉô¤¬¤¢¤ë¿ô¤Ç¤¹¡£ ¤³¤ì¤é¤Ï»Ø¿ôɽµ¤Çɽ¤·¤Þ¤¹¡£ ¤¿¤È¤¨¤Ð¡¢1.5e2¤Ï150¤ËÅù¤·¤¤¤Î¤Ç¤¹¡£ ¤³¤ÎÎã¤Î‘e2’¤Ï10¤Î2¾è¤òɽ¤·¡¢¤½¤ì¤ò1.5Çܤ·¤Þ¤¹¡£ ÉâÆ°¾®¿ôÅÀ¿ô¤ÎÃͤϸ·Ì©¤Ç¤Ï¤¢¤ê¤Þ¤»¤ó¡£ ¤³¤ì¤é¤ÎÀºÅ٤ˤÏÄê¤Þ¤Ã¤¿¸Â³¦¤¬¤¢¤ê¤Þ¤¹¡£
• Integer Basics: | Representation and range of integers. | |
• Float Basics: | Representation and range of floating point. | |
• Predicates on Numbers: | Testing for numbers. | |
• Comparison of Numbers: | Equality and inequality predicates. | |
• Numeric Conversions: | Converting float to integer and vice versa. | |
• Arithmetic Operations: | How to add, subtract, multiply and divide. | |
• Rounding Operations: | Explicitly rounding floating point numbers. | |
• Bitwise Operations: | Logical and, or, not, shifting. | |
• Math Functions: | Trig, exponential and logarithmic functions. | |
• Random Numbers: | Obtaining random integers, predictable or not. |