First-class functions: Difference between revisions

m
→‎{{header|GAP}}: gap now has floats
m (Removing unneeded `{.procvar.}` from compose]a)
m (→‎{{header|GAP}}: gap now has floats)
Line 1,157:
end;
 
# Inverse and Sqrt are in the built-in library. Note that GAP doesn't have real numbers nor floating point numbers. Therefore, Sqrt yields values in cyclotomic fields.
# For example,
# gap> Sqrt(7);
Anonymous user