Post Scarcity
A prototype for a post scarcity programming environment
Loading...
Searching...
No Matches
real.h
Go to the documentation of this file.
1
/*
2
* To change this license header, choose License Headers in Project Properties.
3
* To change this template file, choose Tools | Templates
4
* and open the template in the editor.
5
*/
6
7
/*
8
* File: real.h
9
* Author: simon
10
*
11
* Created on 14 August 2017, 17:25
12
*/
13
14
#ifndef REAL_H
15
#define REAL_H
16
17
#ifdef __cplusplus
18
extern
"C"
{
19
#endif
20
21
/**
22
* Allocate a real number cell representing this value and return a cons
23
* pointer to it.
24
* @param value the value to wrap;
25
* @return a real number cell wrapping this value.
26
*/
27
struct
cons_pointer
make_real
( long double value );
28
29
#ifdef __cplusplus
30
}
31
#endif
32
#endif
/* REAL_H */
cons_pointer
An indirect pointer to a cons cell.
Definition
consspaceobject.h:415
make_real
struct cons_pointer make_real(long double value)
Allocate a real number cell representing this value and return a cons pointer to it.
Definition
real.c:21
workspace
post-scarcity
src
arith
real.h
Generated by
1.9.8