| 297 | } |
| 298 | |
| 299 | std::shared_ptr<Array> RandomArrayGenerator::Float32(int64_t size, float min, float max, |
| 300 | double null_probability, |
| 301 | double nan_probability, |
| 302 | int64_t alignment, |
| 303 | MemoryPool* memory_pool) { |
| 304 | using OptionType = |
| 305 | GenerateOptions<float, ::arrow::random::uniform_real_distribution<float>>; |
| 306 | OptionType options(seed(), min, max, null_probability, nan_probability); |
| 307 | return GenerateNumericArray<FloatType, OptionType>(size, options, alignment, |
| 308 | memory_pool); |
| 309 | } |
| 310 | |
| 311 | std::shared_ptr<Array> RandomArrayGenerator::Float64(int64_t size, double min, double max, |
| 312 | double null_probability, |