# Exercise: Float Operations
#
# Float operations use the `f.` prefix:
#   f.+       Add
#   f.-  Subtract
#   f.*  Multiply
#   f./    Divide
#
# Float comparisons:
#   f.=    Equal
#   f.<    Less than
#   f.>    Greater than
#   f.<=   Less than or equal
#   f.>=   Greater than or equal
#
# Your task: Perform floating-point arithmetic
# When done, delete the marker line below.

# I AM NOT DONE

: test-float-add ( -- )
    # Add 1.5 and 2.5
    # Your code here - add them.
    0.0
    # Do not edit below this line
    4.0 f.= test.assert
;

: test-float-multiply ( -- )
    # Multiply 2.5 by 4.0
    # Your code here - multiply them.
    0.0
    # Do not edit below this line
    10.0 f.= test.assert
;

: test-float-divide ( -- )
    # Divide 7.5 by 2.5
    # Your code here - divide them.
    0.0
    # Do not edit below this line
    3.0 f.= test.assert
;
