Search Result

Collapse
2 results in 0.0039 seconds.
Keywords
Members
Tags
negative numbers
  •  

  • bugaboo
    started a topic What do I need to change about my program?

    What do I need to change about my program?

    I'm trying to write a program that will determine the total number of lines, columns, digits, as well as the maximum and minimum number. However it returns the wrong data and can't count any negative numbers. My program is...


    Code:
    max = 0
    min = 0
    
    def getMaxMin(digitsList):
    	global max
    	max = digitsList[0]
    	global min
    	min  = digitsList[0]
    
    	for digit in digitsList:
    ...
    See more | Go to post
    Last edited by bvdet; Apr 7 '10, 06:02 AM. Reason: Fix code tags

  • schaefer.mp@gmail.com
    Guest started a topic negative base raised to fractional exponent

    negative base raised to fractional exponent

    Does anyone know of an approximation to raising a negative base to a
    fractional exponent? For example, (-3)^-4.11111 since this cannot be
    computed without using imaginary numbers. Any help is appreciated....
    See more | Go to post
Working...