Documentation for fp types.
authorJustin Seyster <jseyster@cs.sunysb.edu>
Tue, 24 Aug 2010 22:45:12 +0000 (18:45 -0400)
committerJustin Seyster <jseyster@cs.sunysb.edu>
Tue, 24 Aug 2010 22:45:12 +0000 (18:45 -0400)
src/aop-type.c

index d6ec8ca36728668bd5df0f463d5b9be1160cbcf1..ed37200e6b4c25f8dd27a6431f8eff34993d65c2 100644 (file)
@@ -226,6 +226,18 @@ aop_t_all_unsigned ()
   return &_aop_t_all_unsigned;
 }
 
+/**
+ * Return a type that will match any standard-sized floating point
+ * type.
+ *
+ * Standard floating point sizes are single-precision (float) and
+ * double-precision (double).  This type will not match
+ * quadruple-precision floating point types (you must use
+ * aop_t_float128() to match quadruple-precision).
+ *
+ * \return A type that will match any standard-sized floating point
+ * type.
+ */
 const struct aop_type *
 aop_t_all_fp ()
 {
@@ -348,18 +360,36 @@ aop_t_unsigned128 ()
   return &_aop_t_unsigned128;
 }
 
+/**
+ * Return a type that will match single-precision floating point types
+ * (float in C).
+ * \return A type that will match single-precision floating point
+ * types.
+ */
 const struct aop_type *
 aop_t_float32 ()
 {
   return &_aop_t_float32;
 }
 
+/**
+ * Return a type that will match double-precision floating point types
+ * (double in C).
+ * \return A type that will match double-precision floating point
+ * types.
+ */
 const struct aop_type *
 aop_t_float64 ()
 {
   return &_aop_t_float64;
 }
 
+/**
+ * Return a type that will match quadruple-precision floating point
+ * types (long double in C).
+ * \return A type that will match quadruple-precision floating point
+ * types.
+ */
 const struct aop_type *
 aop_t_float128 ()
 {