Skip to content

Latest commit

 

History

History
54 lines (40 loc) · 711 Bytes

File metadata and controls

54 lines (40 loc) · 711 Bytes

#list of calculator buttons and function definitions ##Core state <- represents the screen

get current number on display

clear the display

add add(a: float, b:float) -> float

sub sub(a: float, b:float) -> float

multiply

divide

squre

square_root

exponentiate

inverse

invert_sign

##scientific ###Display switch_display_rotate switch_display_str display_binary display_octal display_decimal display_hex ###memmory

  • store 1 value (for recall)

m+ (puts display in memory) mc (clears memory) mrc (puts memory on screen)

###trig sin cos tan asin (inverse) acos atan ###switch trig mode rads and degrees rads_degrees_swap() -> str switch and string