Function kdb_c_api::new_real[][src]

pub fn new_real(real: F) -> K
Expand description

Constructor of q real object. Relabeling of ke.

Example

use kdb_c_api::*;
 
#[no_mangle]
pub extern "C" fn create_real(_: K) -> K{
  new_real(0.00324)
}
q)reality: `libc_api_examples 2: (`create_real; 1);
q)reality[]
0.00324e