Vuo  0.6.0
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Functions
VuoReal.c File Reference

Description

VuoReal implementation.

Functions

VuoReal VuoReal_valueFromJson (json_object *js)
 Decodes the JSON object js, expected to contain a double, to create a new value.
 
json_object * VuoReal_jsonFromValue (const VuoReal value)
 Encodes value as a JSON object.
 
char * VuoReal_summaryFromValue (const VuoReal value)
 Returns a string representation of value (either decimal or scientific notation, whichever is shorter).
 
VuoReal VuoReal_min (VuoReal *terms, unsigned long termsCount)
 Returns the minimum of an array of terms, or 0 if the array is empty.
 
VuoReal VuoReal_max (VuoReal *terms, unsigned long termsCount)
 Returns the maximum of an array of terms, or 0 if the array is empty.