mirror of
				https://github.com/ruby/ruby.git
				synced 2022-11-09 12:17:21 -05:00 
			
		
		
		
	[DOC] Fix wording in Math::E documentation
This commit is contained in:
		
							parent
							
								
									30c5e8c4b9
								
							
						
					
					
						commit
						0231661939
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		
							
								
								
									
										2
									
								
								math.c
									
										
									
									
									
								
							
							
						
						
									
										2
									
								
								math.c
									
										
									
									
									
								
							| 
						 | 
					@ -984,7 +984,7 @@ InitVM_Math(void)
 | 
				
			||||||
    rb_define_const(rb_mMath, "PI", DBL2NUM(M_PI));
 | 
					    rb_define_const(rb_mMath, "PI", DBL2NUM(M_PI));
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#ifdef M_E
 | 
					#ifdef M_E
 | 
				
			||||||
    /*  Definition of the mathematical constant for Euler's number E (e) as a Float number. */
 | 
					    /*  Definition of the mathematical constant E for Euler's number (e) as a Float number. */
 | 
				
			||||||
    rb_define_const(rb_mMath, "E", DBL2NUM(M_E));
 | 
					    rb_define_const(rb_mMath, "E", DBL2NUM(M_E));
 | 
				
			||||||
#else
 | 
					#else
 | 
				
			||||||
    rb_define_const(rb_mMath, "E", DBL2NUM(exp(1.0)));
 | 
					    rb_define_const(rb_mMath, "E", DBL2NUM(exp(1.0)));
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue