« Home » « Learn » « Download » « Github »

logo

Cello High Level C

Examples

Usage

var f0 = $(Float, 1.0);
var f1 = new(Float, $F(24.313));
var f2 = copy(f0);

show(f0); /*  1.000 */
show(f1); /* 24.313 */
show(f2); /*  1.000 */

Float


Floating Point Object

64-bit double precision float point Object.

Definition

struct Float {
  double val;
};

Derives

Implements

  • Assignassign
  • C_Floatc_float
  • Cmpcmp eq neq gt lt ge le
  • Docname brief description definition
  • Hashhash hash_data
  • Showshow look print scan

Back